File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -984,14 +984,20 @@ class PhpDebugSession extends vscode.DebugSession {
984984 this . sendErrorResponse ( response , new Error ( 'Pausing the execution is not supported by XDebug' ) )
985985 }
986986
987- protected async terminateThreadsRequest ( response : VSCodeDebugProtocol . TerminateThreadsResponse , args : VSCodeDebugProtocol . TerminateThreadsArguments ) {
987+ protected async terminateThreadsRequest (
988+ response : VSCodeDebugProtocol . TerminateThreadsResponse ,
989+ args : VSCodeDebugProtocol . TerminateThreadsArguments
990+ ) {
988991 try {
989992 if ( args . threadIds ) {
990993 await Promise . all (
991- args . threadIds . map ( async ( threadId ) => {
994+ args . threadIds . map ( async threadId => {
992995 const connection = this . _connections . get ( threadId )
993996 if ( connection ) {
994- await Promise . race ( [ connection . sendStopCommand ( ) , new Promise ( resolve => setTimeout ( resolve , 500 ) ) ] )
997+ await Promise . race ( [
998+ connection . sendStopCommand ( ) ,
999+ new Promise ( resolve => setTimeout ( resolve , 500 ) ) ,
1000+ ] )
9951001 await connection . close ( )
9961002 this . _connections . delete ( threadId )
9971003 this . _waitingConnections . delete ( connection )
You can’t perform that action at this time.
0 commit comments