##// END OF EJS Templates
avoid unregistering widget model twice...
MinRK -
Show More
@@ -164,8 +164,8 class Widget(LoggingConfigurable):
164 164 Closes the underlying comm.
165 165 When the comm is closed, all of the widget views are automatically
166 166 removed from the front-end."""
167 del Widget.widgets[self.model_id]
168 167 if self._comm is not None:
168 Widget.widgets.pop(self.model_id, None)
169 169 self._comm.close()
170 170 self._comm = None
171 171
General Comments 0
You need to be logged in to leave comments. Login now