浏览代码

Fixed Typo : made actual copy of the messages

/main
Thomas ICHÉ 5 年前
当前提交
87e7d334
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      Runtime/Managers/Messager/Messager.cs

2
Runtime/Managers/Messager/Messager.cs


try
{
// Get a copy of registered messages to iterate on. This prevents issues while deregistering message recievers while iterating.
var messages = m_RegisteredMessages[eventName];
var messages = m_RegisteredMessages[eventName].ToArray();
foreach (var message in messages)
{
if(message != null)

正在加载...
取消
保存