Fix deregister of event on scan closing
Fix deregister of event on scan closing

EDDiscovery/EDDiscovery,EDDiscovery/EDDiscovery,klightspeed/EDDiscovery,klightspeed/EDDiscovery,klightspeed/EDDiscovery,EDDiscovery/EDDiscovery,andreaspada/EDDiscovery,andreaspada/EDDiscovery