mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-26 18:53:23 +02: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
1 changed files with 1 additions and 0 deletions
|
|
@ -1456,6 +1456,7 @@ def sync_booklists(self, booklists, end_session=True):
|
|||
@synchronous('sync_lock')
|
||||
def eject(self):
|
||||
self._debug()
|
||||
self._call_client('NOOP', {'ejecting': True})
|
||||
self._close_device_socket()
|
||||
|
||||
@synchronous('sync_lock')
|
||||
|
|
|
|||
Loading…
Reference in a new issue