Make LutrisThread.return_code do what it says

This commit is contained in:
Xodetaetl 2015-08-11 15:00:45 +02:00
parent 2fca8d3a9f
commit bca25cbb2e

View file

@ -160,5 +160,6 @@ class LutrisThread(threading.Thread):
or self.cycles_without_children >= self.max_cycles_without_children):
logger.debug("No children left in thread, exiting")
self.is_running = False
self.return_code = self.game_process.returncode
return False
return True