Skip to content

Conversation

@ComplexPlane
Copy link
Owner

@ComplexPlane ComplexPlane commented Dec 14, 2024

Disabling interrupts while our code is running may help prevent the random crashes I've been experiencing. This required a bit of a refactor because we now want to call hooks without holding a Mutex, which means hooks must be cloneable/moveable.

Unfortunately this PR seems to grow the binary by 10KB, which is much more than I'd expect. The simpler but mostly adequate approach of just disabling interrupts inside with_app() probably costs much less space - it'd be nice to know why this approach costs so much though.

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.

2 participants