From 5161dd2a33e0e2147a40865a42461837aee5d7ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Sun, 20 Jul 2014 13:44:24 +0000 Subject: Plugin Updater: Fixed various issues - Checking after resume from hibernation finally works - Checking after having opened update dialog for too long works - After closing update dialog without updating and checking for updates again now correctly checks for new updates (and not show old unusable window) git-svn-id: http://svn.miranda-ng.org/main/trunk@9888 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/PluginUpdater/src/Events.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/PluginUpdater/src/Events.cpp') diff --git a/plugins/PluginUpdater/src/Events.cpp b/plugins/PluginUpdater/src/Events.cpp index e892092094..816f92c603 100644 --- a/plugins/PluginUpdater/src/Events.cpp +++ b/plugins/PluginUpdater/src/Events.cpp @@ -49,10 +49,10 @@ int ModulesLoaded(WPARAM, LPARAM) EmptyFolder(0, TRUE); // silently if (AllowUpdateOnStartup()) - DoCheck(opts.bUpdateOnStartup); + DoCheck(); Timer = CreateWaitableTimer(NULL, FALSE, NULL); - InitTimer(); + mir_forkthread(InitTimer, (void*)0); return 0; } -- cgit v1.2.3