Show More
@@ -98,8 +98,11 b' class Widget(LoggingConfigurable):' | |||
|
98 | 98 | """Close method. Closes the widget which closes the underlying comm. |
|
99 | 99 | When the comm is closed, all of the widget views are automatically |
|
100 | 100 | removed from the frontend.""" |
|
101 | try: | |
|
101 | 102 | self._comm.close() |
|
102 | 103 | del self._comm |
|
104 | except: | |
|
105 | pass # Comm doesn't exist and/or is already closed. | |
|
103 | 106 | |
|
104 | 107 | |
|
105 | 108 | # Properties |
General Comments 0
You need to be logged in to leave comments.
Login now