refactor
This commit is contained in:
@@ -111,7 +111,7 @@ auto winfsp_drive::winfsp_service::OnStop() -> NTSTATUS {
|
||||
winfsp_drive::winfsp_drive(app_config &config, lock_data &lock,
|
||||
i_provider &provider)
|
||||
: FileSystemBase(), provider_(provider), config_(config), lock_(lock) {
|
||||
E_SUBSCRIBE_EXACT(unmount_requested, [this](const unmount_requested & /*e*/) {
|
||||
E_SUBSCRIBE_EXACT(unmount_requested, [this](const unmount_requested &) {
|
||||
std::thread([this]() { this->shutdown(); }).detach();
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user