Procházet zdrojové kódy

Do not trigger a protocol error when the data channel closes

Lennart Grahl před 6 roky
rodič
revize
adfb52a33d
1 změnil soubory, kde provedl 1 přidání a 2 odebrání
  1. 1 2
      src/services/webclient.ts

+ 1 - 2
src/services/webclient.ts

@@ -1095,8 +1095,7 @@ export class WebClientService {
                 });
             };
             dc.onclose = () => {
-                this.arpLog.error(`Data channel ${dc.label} closed prematurely`);
-                this.failSession();
+                this.arpLog.info(`Data channel ${dc.label} closed`);
             };
             dc.onerror = (event) => {
                 this.arpLog.error(`Data channel ${dc.label} error:`, event);