diff options
author | Sravan Kumar Lakkimsetti | 2020-05-08 09:03:45 +0000 |
---|---|---|
committer | Sravan Kumar Lakkimsetti | 2020-05-08 09:03:45 +0000 |
commit | 8a9e55eabb56554aefea93831c8d231449b5d501 (patch) | |
tree | d3bac29b7884684da27b2d50e3b584ea0ff172ee | |
parent | 1026f2fc4e18bd8880ad896ac180aa777d47f2c6 (diff) | |
download | rt.equinox.framework-8a9e55eabb56554aefea93831c8d231449b5d501.tar.gz rt.equinox.framework-8a9e55eabb56554aefea93831c8d231449b5d501.tar.xz rt.equinox.framework-8a9e55eabb56554aefea93831c8d231449b5d501.zip |
Bug 560428 - The mutex (used to find an already running instance) potentially gets not released (launcher for Windows)
Change-Id: I1866a9da7dbc9bea5de77eacfb83d5707485454e
Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
-rw-r--r-- | features/org.eclipse.equinox.executable.feature/library/win32/eclipseWin.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/features/org.eclipse.equinox.executable.feature/library/win32/eclipseWin.c b/features/org.eclipse.equinox.executable.feature/library/win32/eclipseWin.c index c72a6f03b..72d46a06c 100644 --- a/features/org.eclipse.equinox.executable.feature/library/win32/eclipseWin.c +++ b/features/org.eclipse.equinox.executable.feature/library/win32/eclipseWin.c @@ -291,11 +291,12 @@ jlong getSplashHandle() { } void takeDownSplash() { + HWND window = NULL; if(topWindow != NULL) { if (mutex != NULL) { KillTimer(topWindow, findWindowTimerId); - HWND window = findSWTMessageWindow(); + window = findSWTMessageWindow(); if (window != NULL) { sendOpenFileMessage(window); } |