Skip to content

Commit

Permalink
Add socket cleanup to reversion
Browse files Browse the repository at this point in the history
Added removeServer() From 3037 as missed in 3689
  • Loading branch information
jimjimmiejames authored Nov 15, 2024
1 parent 97129a2 commit 36e7731
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/qt/paymentserver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,10 @@ void PaymentServer::initializeServer(QObject* parent, QString ipcServerName, boo
// other OSes: helpful when dealing with payment request files
if (parent)
parent->installEventFilter(this);


// Clean up old socket leftover from a crash:
QLocalServer::removeServer(name);

if (startLocalServer)
{
uriServer = new QLocalServer(this);
Expand Down

0 comments on commit 36e7731

Please sign in to comment.