Skip to content

Commit c547d9a

Browse files
Make a few tweaks based on code review feedback
1 parent d96fb0c commit c547d9a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/omnisharp/server.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -411,10 +411,6 @@ export class OmniSharpServer {
411411
};
412412

413413
this._requestQueue.enqueue(request);
414-
415-
if (this._getState() === ServerState.Started) {
416-
this._requestQueue.drain();
417-
}
418414
});
419415

420416
if (token) {
@@ -528,6 +524,8 @@ export class OmniSharpServer {
528524
else {
529525
request.onError(packet.Message || packet.Body);
530526
}
527+
528+
this._requestQueue.drain();
531529
}
532530

533531
private _handleEventPacket(packet: protocol.WireProtocol.EventPacket): void {

0 commit comments

Comments
 (0)