frida / frida-swift

Frida Swift bindings
Other
139 stars 37 forks source link

do not close device mananger before async operation of enumerate devices #10

Closed everettjf closed 3 years ago

everettjf commented 3 years ago

Since DeviceManager.enumerateDevices is asynchronous operation, we should not call DeviceManager.close before asynchronous task completion.

Although DeviceManager.close is asynchronous, it is still too early.

oleavr commented 3 years ago

Thanks, great catch!