Skip to content

Add call to deinit hexpansion apps#328

Open
hairymnstr wants to merge 1 commit into
mainfrom
ndumont/hexpansion_deinit
Open

Add call to deinit hexpansion apps#328
hairymnstr wants to merge 1 commit into
mainfrom
ndumont/hexpansion_deinit

Conversation

@hairymnstr

Copy link
Copy Markdown
Contributor

Description

Adds a call to optional method deinit when a hexpansion is removed. This can be used for tear-down things like freeing hardware peripherals or unmounting extra file systems. It is more reliable to have an explicit deinit function call because the python destructor method __del__ may or may not be called depending on when the garbage collector runs.

Addresses issue #318

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.

1 participant