mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Send the client a message when calibre ejects the device.
https://www.mobileread.com/forums/showthread.php?p=3993721
This commit is contained in:
parent
ec30a7d65f
commit
3526bf3d45
@ -1456,6 +1456,7 @@ class SMART_DEVICE_APP(DeviceConfig, DevicePlugin):
|
||||
@synchronous('sync_lock')
|
||||
def eject(self):
|
||||
self._debug()
|
||||
self._call_client('NOOP', {'ejecting': True})
|
||||
self._close_device_socket()
|
||||
|
||||
@synchronous('sync_lock')
|
||||
|
Loading…
x
Reference in New Issue
Block a user