Files
AntennaPod/playback/service
schwarzspecht 9b78c586df Reset interrupted state on InterruptedException (#8120)
This resets the interrupted state for the thread, because it is checked in the calling method.

If you catch a InterruptedException and do not call Thread.currentThread().interrupt(), the interrupt state of the thread is not set anymore and the calling method has no information about it. Without the correction the if (!Thread.currentThread().isInterrupted()) will always be true. Neither Thread.currentThread().interrupt() is called nor the exception is rethrown which can result in unexpected behavior.
2025-11-30 15:31:05 +01:00
..
2025-08-18 20:24:58 +02:00

:playback:service

The main service doing media playback.