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.
2 parents b633c81 + c6e34bf commit 53f16beCopy full SHA for 53f16be
tools/swift-inspect/Sources/swift-inspect/WindowsRemoteProcess.swift
@@ -470,13 +470,13 @@ internal final class WindowsRemoteProcess: RemoteProcess {
470
return false
471
}
472
473
- var dwExitCode: DWORD = 1
+ var dwExitCode: DWORD = 0
474
guard GetExitCodeThread(hThread, &dwExitCode) else {
475
print("GetExitCodeThread for unload failed \(GetLastError())")
476
477
478
479
- guard dwExitCode == 0 else {
+ if dwExitCode == 0 {
480
print("FreeLibrary failed \(dwExitCode)")
481
482
0 commit comments