more correct parent disposable

This commit is contained in:
Kirill Likhodedov
2016-05-13 18:55:35 +03:00
parent 69bb948977
commit f86ef4910b
@@ -71,9 +71,7 @@ public class VcsDirtyScopeVfsListener implements BulkFileListener, Disposable {
}
}
};
myZipperUpdater = new ConstantZipperUpdater(300, Alarm.ThreadToUse.POOLED_THREAD, ApplicationManager.getApplication(),
myDirtReporter);
myZipperUpdater = new ConstantZipperUpdater(300, Alarm.ThreadToUse.POOLED_THREAD, this, myDirtReporter);
Disposer.register(project, this);
project.getMessageBus().connect().subscribe(VirtualFileManager.VFS_CHANGES, this);
}