sugarlabs / chat

The Sugar chat activity
GNU General Public License v2.0
5 stars 25 forks source link

Fix fail to quit #7

Closed quozl closed 7 years ago

quozl commented 7 years ago

On XO-1.75 and XO-4, the Chat activity process did persist after stop. Cause was sensors.EbookModeDetector._read thread, blocked on read(2) of /dev/input/event4. Expected because thread.daemon is not True. Did not affect XO-1 or XO-1.5, because /dev/input/event4 is not readable unless root. Set thread.daemon True can fix, but it was previously turned it off for reasons none of us can remember. So