Commit e239c609 authored by Geoffrey Métais's avatar Geoffrey Métais

Catch Exception on service disconnect

parent e323b41c
......@@ -2164,7 +2164,11 @@ public class PlaybackService extends Service implements IVLCVout.Callback {
public void disconnect() {
if (mBound) {
mBound = false;
try {
mContext.unbindService(mServiceConnection);
} catch (IllegalArgumentException e) {
//Safety catch
}
}
}
......
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