diff --git a/src/recordings.jsx b/src/recordings.jsx index 96a408b..c99aa0e 100644 --- a/src/recordings.jsx +++ b/src/recordings.jsx @@ -285,7 +285,9 @@ class Logs extends React.Component { } componentWillUnmount() { - this.journalCtl.stop(); + if (this.journalCtl) { + this.journalCtl.stop(); + } this.setState({ serverTimeOffset: null, cursor: null,