Add token to FF code
authorLarry Ewing <lewing@microsoft.com>
Mon, 2 May 2022 14:11:56 +0000 (09:11 -0500)
committerLarry Ewing <lewing@microsoft.com>
Mon, 2 May 2022 14:11:56 +0000 (09:11 -0500)
src/mono/wasm/debugger/BrowserDebugProxy/Firefox/FirefoxMonoProxy.cs

index c6caa8a..fcc35ef 100644 (file)
@@ -985,7 +985,7 @@ internal sealed class FirefoxMonoProxy : MonoProxy
                     return false;
 
                 using (var reader = new StreamReader(data))
-                    source = await reader.ReadToEndAsync();
+                    source = await reader.ReadToEndAsync(token);
             }
             await SendEvent(msg_id, "", JObject.FromObject(new { source, from = script_id }), token);
         }