Skip to content

Commit 0b5b7f6

Browse files
committed
Not crashing GPII
1 parent 7c18a23 commit 0b5b7f6

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

index.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,6 @@ fluid.contextAware.makeChecks({
2626
});
2727

2828
require("./gpii/node_modules/WindowsUtilities/WindowsUtilities.js");
29-
30-
// Not for production:
31-
var gpii = fluid.registerNamespace("gpii");
32-
console.log("Crashing");
33-
// Crash by invoking a null callback.
34-
gpii.windows.user32.EnumWindows(Buffer.alloc(0) ,0);
35-
console.log("Crash failed");
36-
37-
3829
require("./gpii/node_modules/processHandling/processHandling.js");
3930
require("./gpii/node_modules/displaySettingsHandler");
4031
require("./gpii/node_modules/registrySettingsHandler");

0 commit comments

Comments
 (0)