Skip to content

Commit

Permalink
Not crashing GPII
Browse files Browse the repository at this point in the history
  • Loading branch information
stegru committed Jun 5, 2018
1 parent 7c18a23 commit 0b5b7f6
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,6 @@ fluid.contextAware.makeChecks({
});

require("./gpii/node_modules/WindowsUtilities/WindowsUtilities.js");

// Not for production:
var gpii = fluid.registerNamespace("gpii");
console.log("Crashing");
// Crash by invoking a null callback.
gpii.windows.user32.EnumWindows(Buffer.alloc(0) ,0);
console.log("Crash failed");


require("./gpii/node_modules/processHandling/processHandling.js");
require("./gpii/node_modules/displaySettingsHandler");
require("./gpii/node_modules/registrySettingsHandler");
Expand Down

0 comments on commit 0b5b7f6

Please sign in to comment.