stream: cleanup

Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
Simon Rozman 2023-09-07 14:35:03 +02:00
parent 0848056487
commit b8cb07f456

View File

@ -2170,7 +2170,7 @@ namespace stdex
sys_object::close();
m_state = state_t::ok;
}
catch (const std::exception&) {
catch (...) {
m_state = state_t::fail;
}
}