diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-05-06 09:34:12 +0200 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-05-06 09:34:12 +0200 |
commit | f57607d2d58f6e7689a3550c84ba68ce42c6a7b3 (patch) | |
tree | 318f5d63d51106fb34cd6634f7cc8e321da1c1e0 /zend/extension.cpp | |
parent | 927e54ecde25ed7ba718697631dc8ffd208e361a (diff) |
When "apache reload" is called, the PHP-CPP library made the entire Apache process crash. This has been fixed
Diffstat (limited to 'zend/extension.cpp')
-rw-r--r-- | zend/extension.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/zend/extension.cpp b/zend/extension.cpp index 9685b32..1545f89 100644 --- a/zend/extension.cpp +++ b/zend/extension.cpp @@ -97,6 +97,18 @@ void *Extension::module() } /** + * Is the extension object in a locked state? This happens after the + * get_module() function was called for the first time ("apache reload" + * forces a new call to get_module()) + * + * @return bool + */ +bool Extension::locked() const +{ + return _impl->locked(); +} + +/** * End of namespace */ } |