Reload tsrmls_id in release builds as well
authorNikita Popov <nikita.ppv@gmail.com>
Tue, 4 Jun 2019 13:23:10 +0000 (15:23 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Tue, 4 Jun 2019 14:12:59 +0000 (16:12 +0200)
commit2d3bc71e89e270e90ba0886eef37ea106f010ca0
tree259b0b863da9e7de2c66e9c55c8cc17d35580328
parentac60007becc7943d1da95ec0f9f92c6a3325ec72
Reload tsrmls_id in release builds as well

If TSRM is shut down and started again (something that phpdbg does),
then tsrmls_id needs to be reloaded everywhere. As tsrmls_id
update is a rare operation, doing that shouldn't be a problem.
TSRM/TSRM.h
sapi/embed/php_embed.c