Skip to content

Commit

Permalink
Fix crash on Linux when database is closed without yubikey present
Browse files Browse the repository at this point in the history
* Fixes #11450
  • Loading branch information
droidmonkey committed Nov 30, 2024
1 parent c157d9c commit bd1ed26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/osutils/DeviceListener.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ void DeviceListener::connectSignals(DEVICELISTENER_IMPL* listener)
{
connect(listener, &DEVICELISTENER_IMPL::devicePlugged, this, [&](bool state, void* ctx, void* device) {
// Wait a few ms to prevent USB device access conflicts
QTimer::singleShot(50, [&] { emit devicePlugged(state, ctx, device); });
QTimer::singleShot(50, this, [&] { emit devicePlugged(state, ctx, device); });
});
}

Expand Down

0 comments on commit bd1ed26

Please sign in to comment.