You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now i remember where i used this, i used to return i future from submit event and wait fot it to finish before the next event happens.
So if one Thread called stop and one other pause at the same time it is assured that firstly stop or pause will run and not together, to avoid deadlocks.
But that is not the way it works now, since the future is not returned from submit. It's not even created, as far as I can see. It's null, and line 643 will never be executed.
java-stream-player/src/main/java/com/goxr3plus/streamplayer/stream/StreamPlayer.java
Line 121 in d32a46a
This object is never written, but it's read at a few places.
I think the intention might have been to assign it to the result of
java-stream-player/src/main/java/com/goxr3plus/streamplayer/stream/StreamPlayer.java
Line 577 in d32a46a
For usages of this future, see
java-stream-player/src/main/java/com/goxr3plus/streamplayer/stream/StreamPlayer.java
Lines 638 to 676 in d32a46a
The text was updated successfully, but these errors were encountered: