We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 420a8bf commit a7e74ddCopy full SHA for a7e74dd
src/resource-manager/resource_service.js
@@ -24,7 +24,11 @@ cls.ResourceManagerService = function(view)
24
var data = new cls.DocumentManager["1.0"].AboutToLoadDocument(msg);
25
26
if (!data.parentFrameID)
27
+ {
28
+ if(this._context)
29
+ delete this._context;
30
this._context = new cls.ResourceContext(data);
31
+ }
32
33
if (this._context)
34
this._context.update("abouttoloaddocument", data);
@@ -83,7 +87,8 @@ cls.ResourceManagerService = function(view)
83
87
84
88
this._on_debug_context_selected_bound = function()
85
89
{
86
- this._context = null;
90
+ if (this._context)
91
92
this._view.update();
93
}.bind(this);
94
0 commit comments