remove invalid notification
This commit is contained in:
@@ -91,8 +91,8 @@ result_t FileTransport::open() {
|
|||||||
} else {
|
} else {
|
||||||
result = openInternal();
|
result = openInternal();
|
||||||
}
|
}
|
||||||
if (m_listener != nullptr) {
|
if (m_listener != nullptr && result == RESULT_OK) {
|
||||||
result = m_listener->notifyTransportStatus(result == RESULT_OK);
|
result = m_listener->notifyTransportStatus(true);
|
||||||
}
|
}
|
||||||
if (result != RESULT_OK) {
|
if (result != RESULT_OK) {
|
||||||
close();
|
close();
|
||||||
|
|||||||
Reference in New Issue
Block a user