PWRFLcreative / Lightwork-Mapper

Automated LED mapping framework.
GNU General Public License v3.0
7 stars 2 forks source link

Network Connect button stops working on failed connection #59

Closed timrolls closed 6 years ago

timrolls commented 7 years ago

Reviewed code, looks like it disposes of the network object correctly.

Need to investigate the case that's breaking it further.

timrolls commented 6 years ago

Fixed, added logic to reconnect whether the opc object is null OR not connected. OPC object remains, but is not used. new instance created on reconnect.

Updated UI behavior - disconnects from device if device type is changed while connected. refresh/connect are updated appropriately.