remove invalid notification

This commit is contained in:
John
2024-05-26 16:39:54 +02:00
parent 92e0faf352
commit d45c5a779f
+2 -2
View File
@@ -91,8 +91,8 @@ result_t FileTransport::open() {
} else {
result = openInternal();
}
if (m_listener != nullptr) {
result = m_listener->notifyTransportStatus(result == RESULT_OK);
if (m_listener != nullptr && result == RESULT_OK) {
result = m_listener->notifyTransportStatus(true);
}
if (result != RESULT_OK) {
close();