mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-01-13 16:30:29 -05:00
Always release socket to allow consecutive HTTPS connections
This commit is contained in:
parent
a0ebbf997d
commit
86f2c9d350
@ -62,15 +62,13 @@ public:
|
||||
}
|
||||
|
||||
void initializeSocket() {
|
||||
if ( isocket.isOpen() ) {
|
||||
// no need to reconnect. do nothing and simply return
|
||||
if ( ikeepAlive )
|
||||
return;
|
||||
// no need to reconnect. do nothing and simply return
|
||||
if ( ikeepAlive )
|
||||
return;
|
||||
|
||||
// close previous connection now!
|
||||
// instead being called by emitted disconnected signal
|
||||
release();
|
||||
}
|
||||
// close previous connection now!
|
||||
// instead being called by emitted disconnected signal
|
||||
release();
|
||||
|
||||
ikeepAlive = false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user