Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • F firmware
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare revisions
  • Issues 74
    • Issues 74
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 29
    • Merge requests 29
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • External wiki
    • External wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • card10card10
  • firmware
  • Merge requests
  • !374

fix(interrupts): Add the callbacks to the list of root pointers

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged schneider requested to merge schneider/mpy-portstate into master Jan 31, 2020
  • Overview 4
  • Commits 2
  • Pipelines 4
  • Changes 6

The garbage collector needs to be aware of the callbacks used for interrupts. Otherwise it might collect the objects which represent the callbacks. This can lead to hard to debug issues where the memory location of the callback gets overwritten by something else and the Python interpreter printing warnings like "can not call float object".

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: schneider/mpy-portstate