Hello,
I juste noticed that \Sentry\Transport\HttpTransport::cleanupPendingRequests() is called when php process ends.
It is called by __destruct() method and also by a register_shutdown_function.
Is this by design or is it a bug?
It's kind of a failsafe, calling it twice shouldn't have any side effect. There are some situations (see #927) where the shutdown function could be missed.
Thanks! Closing.
Most helpful comment
It's kind of a failsafe, calling it twice shouldn't have any side effect. There are some situations (see #927) where the shutdown function could be missed.