mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix possible NPE
This commit is contained in:
@@ -329,7 +329,9 @@ public class StudyProjectComponent implements ProjectComponent {
|
||||
|
||||
@Override
|
||||
public void disposeComponent() {
|
||||
myBusConnection.disconnect();
|
||||
if (myBusConnection != null) {
|
||||
myBusConnection.disconnect();
|
||||
}
|
||||
}
|
||||
|
||||
@NotNull
|
||||
|
||||
Reference in New Issue
Block a user