#1057: cleanup code

This commit is contained in:
gorhill 2015-03-21 08:22:34 -04:00
parent e2f4ec8ba3
commit 4006b99e69
1 changed files with 5 additions and 0 deletions

View File

@ -1847,6 +1847,11 @@ vAPI.contextMenu.remove = function() {
for ( var win of vAPI.tabs.getWindows() ) {
this.unregister(win.document);
}
this.menuItemId = null;
this.menuLabel = null;
this.contexts = null;
this.onCommand = null;
};
/******************************************************************************/