From 0a593d20d0d135b36fb65bd2b806a8f04da35cf3 Mon Sep 17 00:00:00 2001 From: Kyrylo Gliebov Date: Thu, 27 Sep 2018 13:58:21 +0200 Subject: [PATCH] Fix journal error --- src/player.jsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/player.jsx b/src/player.jsx index 6cc6741..e0fb33c 100644 --- a/src/player.jsx +++ b/src/player.jsx @@ -445,7 +445,10 @@ let PacketBuffer = class { */ handleDone() { this.done = true; - this.journalctl.stop(); + if (this.journalctl !== null) { + this.journalctl.stop(); + this.journalctl = null; + } /* Continue with the "following" run */ this.journalctl = Journal.journalctl( this.matchList,