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 a322bf7 commit c961e2cCopy full SHA for c961e2c
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