From 8f727d4af0a4b30c97b4a9b4bc3d195d1fbc88ec Mon Sep 17 00:00:00 2001 From: Andrew Arnott Date: Sat, 1 Jun 2019 21:35:18 -0600 Subject: [PATCH] Fix build warning --- src/StreamJsonRpc/JsonRpc.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/StreamJsonRpc/JsonRpc.cs b/src/StreamJsonRpc/JsonRpc.cs index e9fdb15c..f952b9dc 100644 --- a/src/StreamJsonRpc/JsonRpc.cs +++ b/src/StreamJsonRpc/JsonRpc.cs @@ -2033,7 +2033,7 @@ public void Dispose() private void OnEventRaisedGeneric(object sender, T args) { - this.jsonRpc.NotifyAsync(this.rpcEventName, new object[] { args }); + this.jsonRpc.NotifyAsync(this.rpcEventName, new object[] { args }).Forget(); } private void OnEventRaised(object sender, EventArgs args)