高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】any changes in notification 9reactors0 mechanism
any changes in notification (reactors) mechanism?
any changes in notification (reactors) mechanism?
the following code was working ok:
void cdblinereactor::goodbye(const oddbobject* pobject)
{
...
oddblineptr pline = id.safeopenobject(oddb::kforwrite);
pline->removereactor(this);
...
}
not it throws exception "was notifying".
why reactor can not be removed from event handler?
is it compliant with objectarx?
|