Fixed crash on sentry destruction