Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Free memory allocated for previous system interrupt handler #951
how about adding some tests for this? registering thousands of successive handlers to the same interrupt should be sufficient to show that there is no memory leak and that deleting the old handlers works without causing a fault. We also have System.freeMemory() which could be used to validate that memory isn't being excessively leaked.
Made the tests compile on the core by commenting out GPIO, PWM and Servo tests, which are unrelated. I think we will split the