diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2020-06-16 20:14:27 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2020-06-16 20:14:27 -0400 |
commit | c41b92f721bc61f3dd21e56f86557d7cb185197a (patch) | |
tree | ea578c9bc2e57d8470b4a6afd8624b5e3968588f /src/SMAPI/Framework/ModLoading/Finders/EventFinder.cs | |
parent | f63f14c70369541311bb5034894409a5170d56e9 (diff) | |
download | SMAPI-c41b92f721bc61f3dd21e56f86557d7cb185197a.tar.gz SMAPI-c41b92f721bc61f3dd21e56f86557d7cb185197a.tar.bz2 SMAPI-c41b92f721bc61f3dd21e56f86557d7cb185197a.zip |
improve new event code
This commit...
* debounces the has-custom-priorities check;
* fixes collection-modified-during-enumeration errors if an event handler is added or removed while the event is being raised;
* fixes Remove(handler) removing all instances of the handler instead of the last one.
Diffstat (limited to 'src/SMAPI/Framework/ModLoading/Finders/EventFinder.cs')
0 files changed, 0 insertions, 0 deletions