Skip to content

Commit

Permalink
Fix issue where Pulsar would enter a restart loop when cancelling a b…
Browse files Browse the repository at this point in the history
…uffering

Signed-off-by: Steeve Morin <[email protected]>
  • Loading branch information
steeve committed Feb 21, 2015
1 parent 6ed4d58 commit 64a7808
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion resources/site-packages/pulsar/monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ def closing(self):
return self._closing

def onAbortRequested(self):
self._closing.set()
# Only when closing Kodi
if xbmc.abortRequested:
self._closing.set()
self._closing.clear()

def onSettingsChanged(self):
try:
Expand Down

0 comments on commit 64a7808

Please sign in to comment.