-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Description
See comments by @iloveeclipse on comment: ccf1be4#r153083202 that I have tried to reproduce here
Is there any reason why the code starts a Workbench job to do a resource only operation in UI thread, locking both UI and workspace at same time?
Was it meant to be a WorkspaceJob???
Line 68 in ccf1be4
WorkbenchJob job = new WorkbenchJob("Create " + ClangFormatFileMonitor.CLANG_FORMAT_FILE + " file") { //$NON-NLS-1$ //$NON-NLS-2$ |
This operation should better be done in the UI thread via Display.asyncExec(), but this is not the reason to run the whole job in UI thread.
Line 77 in ccf1be4
openClangFormatFile(formatFileInProject.getLocationURI()); |
travkin79
Metadata
Metadata
Assignees
Labels
No labels