Verified Commit 342c3019 authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame 🎃
Browse files

fixup! Bug 40597: Implement TorSettings module

ch.asyncOpen is not a JS async function, so no need to await it.
The async in the name means that the channel will call methods from a
listener object that it takes as an argument when it receives data.
parent c3f48b32
Loading
Loading
Loading
Loading
+1 −1
Changes for toolkit/modules/Moat.sys.mjs: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -119,7 +119,7 @@ export class MoatRPC {
    ch.requestMethod = "HEAD";

    const listener = new InternetTestResponseListener();
    await ch.asyncOpen(listener, ch);
    ch.asyncOpen(listener, ch);
    return listener.status;
  }