mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
ExternalSystemProjectsWatcher: release batch file change subscription on the project close
This commit is contained in:
+1
-1
@@ -121,7 +121,7 @@ public class ExternalSystemProjectsWatcherImpl extends ExternalSystemTaskNotific
|
||||
|
||||
myNotificationMap = ContainerUtil.newConcurrentMap();
|
||||
|
||||
ApplicationManager.getApplication().getMessageBus().connect().subscribe(BatchFileChangeListener.TOPIC, new BatchFileChangeListener() {
|
||||
ApplicationManager.getApplication().getMessageBus().connect(myProject).subscribe(BatchFileChangeListener.TOPIC, new BatchFileChangeListener() {
|
||||
@Override
|
||||
public void batchChangeStarted(Project project) {
|
||||
myRefreshRequestsQueue.suspend();
|
||||
|
||||
Reference in New Issue
Block a user