This commit is contained in:
@ -101,8 +101,6 @@ E_SIMPLE3(winfsp_event, debug,
|
||||
std::string, api_path, ap, E_FROM_STRING,
|
||||
NTSTATUS, result, res, E_FROM_INT32
|
||||
);
|
||||
E_SIMPLE(drive_stop_begin, info);
|
||||
E_SIMPLE(drive_stop_end, info);
|
||||
E_SIMPLE(drive_stop_timed_out, info);
|
||||
E_SIMPLE3(remote_winfsp_client_event, debug,
|
||||
std::string, function, func, E_FROM_STRING,
|
||||
|
@ -134,8 +134,6 @@ auto winfsp_drive::winfsp_service::OnStart(ULONG /*Argc*/,
|
||||
auto winfsp_drive::winfsp_service::OnStop() -> NTSTATUS {
|
||||
REPERTORY_USES_FUNCTION_NAME();
|
||||
|
||||
event_system::instance().raise<drive_stop_begin>();
|
||||
|
||||
timeout stop_timeout(
|
||||
[]() {
|
||||
event_system::instance().raise<drive_stop_timed_out>();
|
||||
@ -146,8 +144,6 @@ auto winfsp_drive::winfsp_service::OnStop() -> NTSTATUS {
|
||||
|
||||
stop_timeout.disable();
|
||||
|
||||
event_system::instance().raise<drive_stop_end>();
|
||||
|
||||
if (not lock_.set_mount_state(false, "", -1)) {
|
||||
utils::error::raise_error(function_name, "failed to set mount state");
|
||||
}
|
||||
|
Reference in New Issue
Block a user