IDEA-71329 ProcessHandler constructor makes unsafe call to instance method, leads to NPE

Siddharth takes care of our codebase
This commit is contained in:
Denis Zhdanov
2011-06-23 17:00:51 +04:00
parent f5c5810fb2
commit 98f71f261c
@@ -56,7 +56,8 @@ public abstract class ProcessHandler extends UserDataHolderBase {
myEventMulticaster = createEventMulticaster();
myWaitSemaphore = new Semaphore();
myWaitSemaphore.down();
addProcessListener(myAfterStartNotifiedRunner = new TasksRunner());
myAfterStartNotifiedRunner = new TasksRunner();
myListeners.add(myAfterStartNotifiedRunner);
}
public void startNotify() {