Skip to content

Commit

Permalink
dbeaver/dbeaver-vscode#16 Platform shutdown fix
Browse files Browse the repository at this point in the history
  • Loading branch information
serge-rider committed Sep 30, 2024
1 parent 735024b commit 6604b08
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class CBPlatformActivator extends WebPlatformActivator {
protected void shutdownPlatform() {
try {
// Dispose core
if (DBWorkbench.getPlatform() instanceof CBPlatform cbPlatform) {
if (DBWorkbench.isPlatformStarted() && DBWorkbench.getPlatform() instanceof CBPlatform cbPlatform) {
cbPlatform.dispose();
}
} catch (Throwable e) {
Expand Down

0 comments on commit 6604b08

Please sign in to comment.