mixmaxhq/custody

Crash when quickly opening and closing log

wearhere opened this issue · 0 comments

This is a regression from #36. If the process needs to be restarted, but the user closes the log before the restart finishes, we should not try to start tailing again.

The crash happens because the component has unmounted, so this.log is null here.