We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82505eb commit 18c1a13Copy full SHA for 18c1a13
runusb
@@ -203,8 +203,9 @@ class AutorunProcessRegistry(object):
203
def _detect_dead_mountpoint_path(self, path):
204
LOGGER.info("Lost mountpoint: %s", path)
205
usb_type = self.mountpoint_types[path]
206
+ process = self.mountpoint_processes[path]
207
close_handler = self.TYPE_CLOSE_HANDLER[usb_type]
- close_handler(path)
208
+ close_handler(path, process)
209
LOGGER.info(" -> closed process")
210
del self.mountpoint_processes[path]
211
del self.mountpoint_types[path]
0 commit comments