Skip to content

Commit

Permalink
bugfix: remove reference in windowManager when closed
Browse files Browse the repository at this point in the history
  • Loading branch information
a-sync committed Jan 29, 2018
1 parent 9af1d69 commit d1a82ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@
console.log('Window "' + instance.name + '" was closed');

// Delete the reference on the windowManager object
//delete windowManager.windows[instance.name];
delete windowManager.windows[instance.name];

// Delete the window object
instance.object = null;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "electron-window-manager",
"version": "1.0.5",
"version": "1.0.6",
"description": "A NodeJs module that handles window management for Electron (Atom Shell, previously)",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit d1a82ac

Please sign in to comment.