Skip to content

Don't crash when unregistering a feature that doesn't exist#1460

Merged
dbaeumer merged 1 commit intomicrosoft:mainfrom
werat:main
Apr 15, 2024
Merged

Don't crash when unregistering a feature that doesn't exist#1460
dbaeumer merged 1 commit intomicrosoft:mainfrom
werat:main

Conversation

@werat
Copy link
Contributor

@werat werat commented Apr 14, 2024

Note: all other features follow the same practice in their unregister() methods -- if the features doesn't exist, do nothing and don't throw errors.

Note: all other features follow the same practice in their `unregister()` methods -- if the features doesn't exist, do nothing and don't throw errors.
@dbaeumer
Copy link
Member

Makes sense to make this consistent.

@dbaeumer dbaeumer enabled auto-merge (squash) April 15, 2024 06:51
@vscodenpa vscodenpa added this to the April 2024 milestone Apr 15, 2024
@dbaeumer dbaeumer merged commit 269b7c7 into microsoft:main Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants