mirror of
https://github.com/oliverbooth/VpSharp
synced 2024-11-23 01:08:47 +00:00
Fix nullability
This commit is contained in:
parent
d065592634
commit
e98a0662ce
@ -92,7 +92,7 @@ public sealed partial class VirtualParadiseClient
|
|||||||
ReasonCode reason;
|
ReasonCode reason;
|
||||||
|
|
||||||
if (!_objectCompletionSources.TryGetValue(id,
|
if (!_objectCompletionSources.TryGetValue(id,
|
||||||
out TaskCompletionSource<(ReasonCode, VirtualParadiseObject)>? taskCompletionSource))
|
out TaskCompletionSource<(ReasonCode, VirtualParadiseObject?)>? taskCompletionSource))
|
||||||
{
|
{
|
||||||
taskCompletionSource = new TaskCompletionSource<(ReasonCode, VirtualParadiseObject?)>();
|
taskCompletionSource = new TaskCompletionSource<(ReasonCode, VirtualParadiseObject?)>();
|
||||||
_objectCompletionSources.TryAdd(id, taskCompletionSource);
|
_objectCompletionSources.TryAdd(id, taskCompletionSource);
|
||||||
|
Loading…
Reference in New Issue
Block a user