Closed rojvv closed 3 years ago
An error is thrown with the message Connection already started when TGCalls.start is called while the TGCalls class got an error when calling joinVoiceCall and didn't get the transport.
const tgcalls = new TGCalls(); tgcalls.joinVoiceCall = (p) => { throw new Error(); }; (async() => { await tgcalls.start(); await tgcalls.start(); })()
Thank you very ton!
The actual issue
An error is thrown with the message Connection already started when TGCalls.start is called while the TGCalls class got an error when calling joinVoiceCall and didn't get the transport.
Reproducing