This commit is contained in:
Kovid Goyal 2020-05-29 07:29:36 +05:30
commit 7513fbabae
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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')