Commit 2cc57ab5 authored by Ronan's avatar Ronan

revert last commits (workaround for linphone)

parent 90643ab4
...@@ -35,8 +35,6 @@ public: ...@@ -35,8 +35,6 @@ public:
{ {
if (--refCount_ == 0) if (--refCount_ == 0)
{ {
std::unique_ptr<ref_counted_statement_base> deleter(this);
try try
{ {
if (tail_.empty() == false) if (tail_.empty() == false)
...@@ -46,13 +44,13 @@ public: ...@@ -46,13 +44,13 @@ public:
final_action(); final_action();
} }
catch (const std::exception &e) { catch (...)
throw e; {
} delete this;
catch (...) { throw;
// Generic handled exception. Can be a buggy impl.
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