This commit is contained in:
dezeyer
2019-05-11 14:27:47 +00:00
parent ce5566de72
commit ade378d128
+1 -4
View File
@@ -156,10 +156,7 @@ class UDPClient():
print(e, traceback.format_exc()) print(e, traceback.format_exc())
# unregister the onChangeHandler # unregister the onChangeHandler
# for now this function is not called when a client times out, # for now this function is not called when a client times out
# so they don't get unregistered. i mean there is no function that
# is called when a client times out.
def handleClose(self): def handleClose(self):
if self.client_type is CLIENT_TYPE_STRIPE: if self.client_type is CLIENT_TYPE_STRIPE:
self.rgbStripController.unregisterRGBStrip(self.rgbStrip) self.rgbStripController.unregisterRGBStrip(self.rgbStrip)