Page Menu
Home
Search
Configure Global Search
Log In
Files
F26592
CreatorWindowsKill.diff
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Authored By
Harley Acheson (harley)
Nov 13 2013, 5:35 PM
Size
497 B
Subscribers
None
CreatorWindowsKill.diff
View Options
Index: source/creator/creator.c
===================================================================
--- source/creator/creator.c (revision 53731)
+++ source/creator/creator.c (working copy)
@@ -534,8 +534,11 @@
#ifndef WIN32
kill(getpid(), signum);
#else
- /* force crash on windows for now */
- *((void **)NULL) = NULL;
+ {
+ HANDLE procHandle = OpenProcess(PROCESS_ALL_ACCESS, 0, GetCurrentProcessId());
+ TerminateProcess(procHandle, 0);
+ CloseHandle(procHandle);
+ }
#endif
}
File Metadata
Details
Mime Type
text/x-diff
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
91/0c/bde4d01ff67e76b27205c300c101
Event Timeline
Log In to Comment