mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
External system: close buildOutputInstantReader at the sync end
This commit is contained in:
+7
@@ -554,6 +554,13 @@ public class ExternalSystemUtil {
|
||||
ServiceManager.getService(project, SyncViewManager.class).onEvent(buildEvent);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onEnd(@NotNull ExternalSystemTaskId id) {
|
||||
if (buildOutputInstantReader != null) {
|
||||
buildOutputInstantReader.close();
|
||||
}
|
||||
}
|
||||
};
|
||||
final long startTS = System.currentTimeMillis();
|
||||
resolveProjectTask.execute(indicator, ArrayUtil.prepend(taskListener, ExternalSystemTaskNotificationListener.EP_NAME.getExtensions()));
|
||||
|
||||
Reference in New Issue
Block a user