Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSravan Kumar Lakkimsetti2020-05-08 09:03:45 +0000
committerSravan Kumar Lakkimsetti2020-05-08 09:03:45 +0000
commit8a9e55eabb56554aefea93831c8d231449b5d501 (patch)
treed3bac29b7884684da27b2d50e3b584ea0ff172ee /features/org.eclipse.equinox.executable.feature
parent1026f2fc4e18bd8880ad896ac180aa777d47f2c6 (diff)
downloadrt.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>
Diffstat (limited to 'features/org.eclipse.equinox.executable.feature')
-rw-r--r--features/org.eclipse.equinox.executable.feature/library/win32/eclipseWin.c3
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);
}

Back to the top