--- a/ElectronWorkstation.st Tue Oct 15 12:38:01 2019 +0200
+++ b/ElectronWorkstation.st Tue Oct 15 18:12:48 2019 +0200
@@ -142,7 +142,7 @@
isOpen
"return true, if there is a valid connection to the display"
- ^ bridge notNil
+ ^ bridge notNil and:[bridge isConnected]
! !
!ElectronWorkstation methodsFor:'event handling'!
@@ -315,10 +315,11 @@
!
destroyView:aView withId:aWindowHandle
- bridge
- invokeMethod:'close'
- object:aWindowHandle
- arguments:#()
+ aWindowHandle close.
+ "/ bridge
+ "/ invokeMethod:'close'
+ "/ object:aWindowHandle
+ "/ arguments:#()
!
mapWindow:aWindowId