Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Niefer2006-12-11 21:24:59 +0000
committerAndrew Niefer2006-12-11 21:24:59 +0000
commit138e0695660cf2e72082231791da7adb58373904 (patch)
treef356a0dea10b3272d93afc468c058f083d8f8382 /bundles/org.eclipse.equinox.executable/library/eclipseJNI.c
parent67c0407d4a1b5d4542a080d051f5ce383b609702 (diff)
downloadrt.equinox.framework-138e0695660cf2e72082231791da7adb58373904.tar.gz
rt.equinox.framework-138e0695660cf2e72082231791da7adb58373904.tar.xz
rt.equinox.framework-138e0695660cf2e72082231791da7adb58373904.zip
-console
Diffstat (limited to 'bundles/org.eclipse.equinox.executable/library/eclipseJNI.c')
-rw-r--r--bundles/org.eclipse.equinox.executable/library/eclipseJNI.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.executable/library/eclipseJNI.c b/bundles/org.eclipse.equinox.executable/library/eclipseJNI.c
index fd34a7605..cd691be18 100644
--- a/bundles/org.eclipse.equinox.executable/library/eclipseJNI.c
+++ b/bundles/org.eclipse.equinox.executable/library/eclipseJNI.c
@@ -238,7 +238,6 @@ int startJavaVM( _TCHAR* libPath, _TCHAR* vmArgs[], _TCHAR* progArgs[] )
}
/*(*jvm)->DestroyJavaVM(jvm);*/
}
- unloadLibrary(jniLibrary);
free(progArgs);
/* toNarrow allocated new strings, free them */
@@ -246,6 +245,8 @@ int startJavaVM( _TCHAR* libPath, _TCHAR* vmArgs[], _TCHAR* progArgs[] )
free( options[i].optionString );
}
free(options);
+
+ unloadLibrary(jniLibrary);
return jvmExitCode;
}

Back to the top