bug in session managing, redesign: removed smart resources, don't allow to copy sessions; refs #7

This commit is contained in:
Marc Wäckerlin
2010-09-17 07:44:11 +00:00
parent dcc9a84734
commit e4671ed7a2
2 changed files with 37 additions and 147 deletions

View File

@@ -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;
}