Update inputManager.py

This commit is contained in:
chrys87 2016-09-21 16:55:31 +02:00 committed by GitHub
parent 5011d35904
commit a6ef252f21

View File

@ -27,6 +27,7 @@ class inputManager():
environment['runtime']['inputManager'].releaseDevices(environment) environment['runtime']['inputManager'].releaseDevices(environment)
if environment['runtime']['inputDriver']: if environment['runtime']['inputDriver']:
environment['runtime']['inputDriver'].shutdown(environment) environment['runtime']['inputDriver'].shutdown(environment)
del environment['runtime']['inputDriver']
def getInputEvent(self, environment): def getInputEvent(self, environment):
eventReceived = False eventReceived = False