Show More
@@ -52,6 +52,7 b' define(["widgets/js/manager",' | |||
|
52 | 52 | _handle_comm_closed: function (msg) { |
|
53 | 53 | // Handle when a widget is closed. |
|
54 | 54 | this.trigger('comm:close'); |
|
55 | this.stopListening(); | |
|
55 | 56 | this.trigger('destroy', this); |
|
56 | 57 | delete this.comm.model; // Delete ref so GC will collect widget model. |
|
57 | 58 | delete this.comm; |
General Comments 0
You need to be logged in to leave comments.
Login now