Skip to content

Commit 2d3bd8c

Browse files
committed
Prettier.
1 parent abc5932 commit 2d3bd8c

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

src/phpDebug.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff 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)

0 commit comments

Comments
 (0)