diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-24 13:43:47 +0100 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-24 13:43:47 +0100 |
commit | 2fd4198b78358cf2ba527296fafb5b1728e28ea8 (patch) | |
tree | 798098f25293908c7fae4e35e8761918460cdb3e /src/origexception.cpp | |
parent | 930ab4880b65885322eb7ca4772b8cdb49a2b0ae (diff) |
added tsrm parameter to all methods to make it compile on tsrm platforms
Diffstat (limited to 'src/origexception.cpp')
-rw-r--r-- | src/origexception.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/origexception.cpp b/src/origexception.cpp index e3634e4..f64d696 100644 --- a/src/origexception.cpp +++ b/src/origexception.cpp @@ -21,8 +21,11 @@ OrigException::~OrigException() noexcept // skip if the exception was restored if (_restored) return; + // we need the tsrm_ls var + TSRMLS_FETCH(); + // clean up the exception, because it was handled in C++ code - zend_clear_exception(); + zend_clear_exception(TSRMLS_C); } /** |