Commit 2cc57ab5 authored by Ronan's avatar Ronan

revert last commits (workaround for linphone)

parent 90643ab4
......@@ -35,8 +35,6 @@ public:
{
if (--refCount_ == 0)
{
std::unique_ptr<ref_counted_statement_base> deleter(this);
try
{
if (tail_.empty() == false)
......@@ -46,13 +44,13 @@ public:
final_action();
}
catch (const std::exception &e) {
throw e;
}
catch (...) {
// Generic handled exception. Can be a buggy impl.
throw;
catch (...)
{
delete this;
throw;
}
delete this;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment