Ensured that a lingering self.semaphore is properly locked/unlocked before signalling.
Ensured that a lingering self.semaphore is properly locked/unlocked before signalling.

xuephil/Perfect,xuephil/Perfect,ambientlight/Perfect,ludagoo/Perfect,ambientlight/Perfect,ambientlight/Perfect,ludagoo/Perfect,ludagoo/Perfect,ludagoo/Perfect,xuephil/Perfect,xuephil/Perfect