类析构时取消其设置的回调函数
This commit is contained in:
@@ -76,6 +76,7 @@ prot_m4 *protM4()
|
||||
|
||||
bool prot_m4::set_irq_fun(prot_m4_cb fun, myarray data)
|
||||
{
|
||||
if(fun==nullptr) return false;
|
||||
int left;
|
||||
for (int i = 0; i < funs.size(); i++)
|
||||
{
|
||||
|
Reference in New Issue
Block a user