Merge pull request #13968 from thoys/fix/create/reloadCrash

MS18269: Fix Reloading Scripts with Create open crashes system
This commit is contained in:
John Conklin II 2018-09-10 15:01:43 -07:00 committed by GitHub
commit 5a1485a4f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -125,6 +125,9 @@ module.exports = (function() {
Script.scriptEnding.connect(this, function() {
this.window.close();
// FIXME: temp solution for reload crash (MS18269),
// we should decide on proper object ownership strategy for InteractiveWindow API
this.window = null;
});
},
setVisible: function(visible) {