1
0
mirror of https://github.com/oliverbooth/VpSharp synced 2024-11-12 23:55:41 +00:00

catch (ChannelClosedException)

This commit is contained in:
Oliver Booth 2022-12-04 15:31:51 +00:00
parent df9a774e55
commit 394d829e6e
No known key found for this signature in database
GPG Key ID: 32A00B35503AF634

View File

@ -298,7 +298,7 @@ public sealed partial class VirtualParadiseClient
await _worldListChannel.Writer.WriteAsync(world).ConfigureAwait(false); await _worldListChannel.Writer.WriteAsync(world).ConfigureAwait(false);
} }
} }
catch catch (ChannelClosedException)
{ {
if (_worlds.TryGetValue(name, out world!)) if (_worlds.TryGetValue(name, out world!))
{ {