mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
dbeaver/dbeaver-vscode#16 Platform shutdown fix
This commit is contained in:
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user