mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-07 16:45:10 +00:00
This commit is contained in:
@@ -13,6 +13,13 @@ namespace TEngine
|
||||
/// </summary>
|
||||
private static readonly Dictionary<int, EventDelegateData> _eventTable = new Dictionary<int, EventDelegateData>();
|
||||
|
||||
/// <summary>
|
||||
/// 清空事件表。
|
||||
/// </summary>
|
||||
internal void ClearEventTable()
|
||||
{
|
||||
_eventTable.Clear();
|
||||
}
|
||||
#region 事件管理接口
|
||||
|
||||
/// <summary>
|
||||
|
@@ -77,7 +77,7 @@ namespace TEngine
|
||||
public void Init()
|
||||
{
|
||||
_eventEntryMap.Clear();
|
||||
Dispatcher = new EventDispatcher();
|
||||
Dispatcher.ClearEventTable();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user