Skip to content

Commit b93df5d

Browse files
committedJul 27, 2022
Fix chat only mode crashing
1 parent 0070af3 commit b93df5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎app/src/main/java/com/perflyst/twire/fragments/StreamFragment.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ public void onStop() {
625625
Log.d(LOG_TAG, "Stream Fragment Stopped");
626626
super.onStop();
627627

628-
if (!castingViewVisible && !audioViewVisible) {
628+
if (!castingViewVisible && !audioViewVisible && player != null) {
629629
player.pause();
630630
}
631631

0 commit comments

Comments
 (0)
Please sign in to comment.