Skip to content

Commit

Permalink
Merge pull request #30 from ILW8/fix-kestrel-server-stop
Browse files Browse the repository at this point in the history
fix kestrel server being reused when stopping and starting server
  • Loading branch information
ILW8 authored Apr 13, 2024
2 parents 9a98b18 + 68da593 commit a575f16
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions osu.Desktop/WebSockets/WebSocketServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ public async Task Close()
if (webHost != null)
await webHost.StopAsync(cts.Token).ConfigureAwait(false);

webHost = null;

IsListening = false;
}

Expand Down

0 comments on commit a575f16

Please sign in to comment.