b9dfb437ab
fix(intr): fix the logic for allocating and freeing interrupts. See merge request !1124
fix(intr): fix the logic for allocating and freeing interrupts. See merge request !1124