diff options
author | George Hazan <ghazan@miranda.im> | 2018-07-26 21:40:50 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-07-26 21:40:50 +0300 |
commit | 1019387a8f6ccc087a113f138c5237146492a356 (patch) | |
tree | 50ef616016686e43ae119333ebac88bc90b2ff11 /plugins/BasicHistory/src/BasicHistory.cpp | |
parent | d61bc49d53578c26b50531fdec1bbd633e19b6ac (diff) |
fixes #1527 (Remove obsolete g_hMainThread and QueueUSerAPC from plugins)
Diffstat (limited to 'plugins/BasicHistory/src/BasicHistory.cpp')
-rw-r--r-- | plugins/BasicHistory/src/BasicHistory.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/plugins/BasicHistory/src/BasicHistory.cpp b/plugins/BasicHistory/src/BasicHistory.cpp index a371fcdfa0..091d9b15d9 100644 --- a/plugins/BasicHistory/src/BasicHistory.cpp +++ b/plugins/BasicHistory/src/BasicHistory.cpp @@ -22,7 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define MS_HISTORY_EXECUTE_TASK "BasicHistory/ExecuteTask"
HCURSOR hCurSplitNS, hCurSplitWE;
-HANDLE g_hMainThread = nullptr;
HANDLE *hEventIcons = nullptr;
int iconsNum = 3;
@@ -237,7 +236,6 @@ int ModulesLoaded(WPARAM, LPARAM) int CMPlugin::Load()
{
hTaskMainMenu = nullptr;
- DuplicateHandle(GetCurrentProcess(), GetCurrentThread(), GetCurrentProcess(), &g_hMainThread, 0, FALSE, DUPLICATE_SAME_ACCESS);
hCurSplitNS = LoadCursor(nullptr, IDC_SIZENS);
hCurSplitWE = LoadCursor(nullptr, IDC_SIZEWE);
@@ -261,10 +259,6 @@ int CMPlugin::Load() int CMPlugin::Unload()
{
- if (g_hMainThread)
- CloseHandle(g_hMainThread);
- g_hMainThread = nullptr;
-
HistoryWindow::Deinit();
DestroyCursor(hCurSplitNS);
|