killTrigger do not effect immediately

Post Reply
zhenzh
Posts: 68
Joined: Fri Apr 17, 2020 2:23 am

killTrigger do not effect immediately

Post by zhenzh »

I find the killTrigger function won't delete the specified temp trigger immediately. The kill command is passed to the mudlet but keeps the target trigger active. The exact deletion will not occur until receiving a new line from server, which means there's a chance that the trigger to be deleted fired by the last coming line.

Why not execute the deletion once mudlet receiving killTrigger request?

User avatar
Vadi
Posts: 5035
Joined: Sat Mar 14, 2009 3:13 pm

Re: killTrigger do not effect immediately

Post by Vadi »

It's an optimisation to delete them all in bulk

zhenzh
Posts: 68
Joined: Fri Apr 17, 2020 2:23 am

Re: killTrigger do not effect immediately

Post by zhenzh »

Well, then disabling the target trigger before it being real deleted is recommanded to get the delete operation accurate.

Post Reply