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 840c3d2 commit bbde233Copy full SHA for bbde233
Sources/Commands/SwiftTool.swift
@@ -404,7 +404,7 @@ public class SwiftTool {
404
_ = SetConsoleCtrlHandler({ _ in
405
// Terminate all processes on receiving an interrupt signal.
406
DefaultPluginScriptRunner.cancelAllRunningPlugins()
407
- SwiftTool.cancellator?.cancel()
+ try? SwiftTool.cancellator?.cancel(deadline: .now() + .seconds(30))
408
409
// Reset the handler.
410
_ = SetConsoleCtrlHandler(nil, false)
0 commit comments