Skip to content

Commit d7fb67c

Browse files
Format code with prettier and black
Co-authored-by: SteveSandersonMS <1101362+SteveSandersonMS@users.noreply.github.com>
1 parent 4b0ad44 commit d7fb67c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

nodejs/src/session.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -518,12 +518,12 @@ export class CopilotSession {
518518
await this.connection.sendRequest("session.destroy", {
519519
sessionId: this.sessionId,
520520
});
521-
521+
522522
// Wait briefly for any final notifications (e.g., session.shutdown)
523523
// to arrive before clearing handlers. The CLI may send these after
524524
// the RPC response.
525525
await new Promise((resolve) => setTimeout(resolve, 100));
526-
526+
527527
this.eventHandlers.clear();
528528
this.typedEventHandlers.clear();
529529
this.toolHandlers.clear();

python/copilot/session.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -487,12 +487,12 @@ async def destroy(self) -> None:
487487
>>> await session.destroy()
488488
"""
489489
await self._client.request("session.destroy", {"sessionId": self.session_id})
490-
490+
491491
# Wait briefly for any final notifications (e.g., session.shutdown)
492492
# to arrive before clearing handlers. The CLI may send these after
493493
# the RPC response.
494494
await asyncio.sleep(0.1)
495-
495+
496496
with self._event_handlers_lock:
497497
self._event_handlers.clear()
498498
with self._tool_handlers_lock:

0 commit comments

Comments
 (0)