mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
fix: Cached provider invalidation on reload not being done correctly
This commit is contained in:
@@ -12,6 +12,8 @@
|
||||
namespace hex::plugin::remote {
|
||||
|
||||
prv::Provider::OpenResult SSHProvider::open() {
|
||||
CachedProvider::open();
|
||||
|
||||
if (!m_sftpClient.isConnected()) {
|
||||
try {
|
||||
if (m_authMethod == AuthMethod::Password) {
|
||||
@@ -47,7 +49,8 @@ namespace hex::plugin::remote {
|
||||
m_remoteFile->close();
|
||||
|
||||
m_sftpClient.disconnect();
|
||||
m_remoteFilePath.clear();
|
||||
|
||||
CachedProvider::close();
|
||||
}
|
||||
|
||||
void SSHProvider::save() {
|
||||
|
||||
Reference in New Issue
Block a user