Skip to content

Conversation

@copybara-service
Copy link

sentry/control: fix Lifecycle.Shutdown() panics

close() on a nil channel panics, so this command panics unconditionally in
runsc (where boot.controller.registerHandlers() passes Lifecycle.ShutdownCh ==
nil). close() on a closed channel also panics, so issuing this command twice
panics unconditionally.

@copybara-service copybara-service bot added the exported Issue was exported automatically label May 29, 2025
@copybara-service copybara-service bot force-pushed the test/cl764790151 branch 9 times, most recently from 6bc309c to 62994cf Compare June 3, 2025 17:29
close() on a nil channel panics, so this command panics unconditionally in
runsc (where boot.controller.registerHandlers() passes Lifecycle.ShutdownCh ==
nil). close() on a closed channel also panics, so issuing this command twice
panics unconditionally.

PiperOrigin-RevId: 766739255
@copybara-service copybara-service bot merged commit bdb79d7 into master Jun 3, 2025
@copybara-service copybara-service bot deleted the test/cl764790151 branch June 3, 2025 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

exported Issue was exported automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant