We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd6d657 commit ce3ed51Copy full SHA for ce3ed51
tools/swift-reflection-test/swift-reflection-test.cpp
@@ -417,15 +417,14 @@ static int doDumpHeapInstance(std::string BinaryFilename) {
417
418
error = mach_port_deallocate(mach_task_self(), childPort);
419
guardMachError(error, "mach_port_deallocate");
420
- exit(EXIT_SUCCESS);
421
}
422
423
+ kill(pid, SIGTERM);
424
+
425
error = task_set_bootstrap_port(mach_task_self(), bootstrap_port);
426
guardMachError(error, "reset task_set_bootstrap_port");
427
- kill(pid, SIGTERM);
428
-
429
430
431
0 commit comments