Bug 204790 [Workbench] lock on .metadata/.lock is never released
Build ID: 3.3 Steps To Reproduce: 1. Debug eclipse, 1 breakpoint in basiclocation:lock 2. 2nd breakpoint in basiclocation:release 3. During the entire run only the lock call is reached. More information: The lock should be released at the end of the Eclipse session.
bundles/org.eclipse.ui.ide.application/src/org/eclipse/ui/internal/ide/application/IDEApplication.java
/* (non-Javadoc)
     * @see org.eclipse.equinox.app.IApplication#start(org.eclipse.equinox.app.IApplicationContext context)
     */
    public Object start(IApplicationContext appContext) throws Exception {
        Display display = createDisplay();
        try {
            Shell shell = new Shell(display, SWT.ON_TOP);
            try {
                if (!checkInstanceLocation(shell)) {
                    Platform.endSplash();
                    return EXIT_OK;
                }
            } finally {
                if (shell != null) {
					shell.dispose();
				}
            }
            
            
            
            
            int returnCode = PlatformUI.createAndRunWorkbench(display,
                    new IDEWorkbenchAdvisor());
            
            
            
            if (returnCode != PlatformUI.RETURN_RESTART) {
				return EXIT_OK;
			}