diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-03-06 14:57:55 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-06-29 15:50:12 +0200 |
commit | 75a04eac978333467ccd98225d7ef21942ce9e91 (patch) | |
tree | ff3ea4cc064bacba90ec19a4d056de348b6d749b /ext/curl | |
parent | d005a8e92becb9993ab0d370e4f5688d09bcaaf2 (diff) | |
download | php-git-75a04eac978333467ccd98225d7ef21942ce9e91.tar.gz |
Make exit() unwind properly
exit() is now internally implemented by throwing an exception,
performing a normal stack unwind and a clean shutdown. This ensures
that no persistent resource leaks occur.
The exception is internal, cannot be caught and does not result in
the execution of finally blocks. This may be relaxed in the future.
Closes GH-5768.
Diffstat (limited to 'ext/curl')
-rw-r--r-- | ext/curl/tests/bug68937.phpt | 1 | ||||
-rw-r--r-- | ext/curl/tests/bug68937_2.phpt | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/ext/curl/tests/bug68937.phpt b/ext/curl/tests/bug68937.phpt index d9164c57a7..9f28117594 100644 --- a/ext/curl/tests/bug68937.phpt +++ b/ext/curl/tests/bug68937.phpt @@ -3,7 +3,6 @@ Bug # #68937 (Segfault in curl_multi_exec) --SKIPIF-- <?php include 'skipif.inc'; -if (getenv('SKIP_ASAN')) die('skip some curl versions leak on longjmp'); ?> --FILE-- <?php diff --git a/ext/curl/tests/bug68937_2.phpt b/ext/curl/tests/bug68937_2.phpt index 4b09b438c5..1ce5b52114 100644 --- a/ext/curl/tests/bug68937_2.phpt +++ b/ext/curl/tests/bug68937_2.phpt @@ -3,7 +3,6 @@ Bug # #68937 (Segfault in curl_multi_exec) --SKIPIF-- <?php include 'skipif.inc'; -if (getenv('SKIP_ASAN')) die('skip some curl versions leak on longjmp'); ?> --FILE-- <?php |