释放资源

This commit is contained in:
liufei
2022-01-06 20:05:40 +08:00
parent 5ff3f04da6
commit 58c67a0497
3 changed files with 5 additions and 1 deletions

View File

@@ -39,7 +39,9 @@ namespace GeekDesk.Thread
m_GlobalHook.MouseDownExt -= M_GlobalHook_MouseDownExt;
m_GlobalHook.Dispose();
dispatcher.InvokeShutdown();
} catch { }
dispatcher = null;
}
catch { }
}