Skip to content

Commit bb3416a

Browse files
authored
Fix for invalid event listener ID lookup (#2445)
Fix for invalid event ID lookup
1 parent 43c1d44 commit bb3416a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/base/EventDispatcher.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1556,7 +1556,7 @@ void EventDispatcher::removeCustomEventListeners(std::string_view customEventNam
15561556
void EventDispatcher::removeAllEventListeners()
15571557
{
15581558
bool cleanMap = true;
1559-
std::vector<std::string_view> types;
1559+
std::vector<std::string> types;
15601560
types.reserve(_listenerMap.size());
15611561

15621562
for (const auto& e : _listenerMap)

0 commit comments

Comments
 (0)