Commit 9efc1b24 authored by Geoffrey Métais's avatar Geoffrey Métais

Stop rendererDelegate when app goes in background

parent fd3c2c7b
......@@ -303,7 +303,10 @@ public class VLCApplication extends Application {
@Override
public void onActivityStopped(Activity activity) {
if (--sActivitiesCount == 0) ExternalMonitor.unregister(instance);
if (--sActivitiesCount == 0) {
ExternalMonitor.unregister(instance);
RendererDelegate.INSTANCE.stop();
}
}
@Override
......
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