From 67060b6b7014233266b0ba222751589e04c7783f Mon Sep 17 00:00:00 2001 From: NI Date: Wed, 18 Dec 2019 15:26:51 +0800 Subject: [PATCH] Remove useless code --- ui/stream/sender.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ui/stream/sender.js b/ui/stream/sender.js index f5dd93e..bc144be 100644 --- a/ui/stream/sender.js +++ b/ui/stream/sender.js @@ -60,11 +60,6 @@ export class Sender { * */ close() { - if (this.timeout !== null) { - clearTimeout(this.timeout); - this.timeout = null; - } - this.buffered = null; this.bufferedSize = 0;