mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 15:01:16 +01:00
GCAdapter: move libusb context teardown last
This commit is contained in:
parent
1c9dfb7bb6
commit
978c90845b
@ -415,8 +415,8 @@ void Shutdown()
|
||||
if (s_libusb_context->IsValid() && s_libusb_hotplug_enabled)
|
||||
libusb_hotplug_deregister_callback(*s_libusb_context, s_hotplug_handle);
|
||||
#endif
|
||||
s_libusb_context.reset();
|
||||
Reset();
|
||||
s_libusb_context.reset();
|
||||
|
||||
s_status = NO_ADAPTER_DETECTED;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user