bug in session managing, redesign: removed smart resources, don't allow to copy sessions; refs #7
This commit is contained in:
@@ -192,7 +192,7 @@ namespace pcsc {
|
||||
}
|
||||
//! Cancels the transaction if not yet finished.
|
||||
~Transaction() try {
|
||||
if (_running) cancel();
|
||||
cancel();
|
||||
} catch (...) {
|
||||
if (!std::uncaught_exception()) throw;
|
||||
}
|
||||
|
Reference in New Issue
Block a user