Commit fc8365c6 authored by Guillaume Lebigot's avatar Guillaume Lebigot

Fix group is null exception

This happens when watching several videos with subs one after the other
parent 3fed6353
......@@ -2396,7 +2396,8 @@ let SubtitleManager = (function() {
}
}
this.group.remove();
if(this.group)
this.group.remove();
this.group = null;
this.updates = null;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment