Project: titanium
Issue TIMOB-19216: Windows: Wrong use of std::unordered_map::emplace
Found that {{std::unordered_map::emplace}} is used in some areas on HAL/TitaniumKit/TitaniumWindows, but it seems like it is often used to replace element, which is wrong. (Because {{emplace}} inserts element only when the key is unique). [TIMOB-19213|https://jira.appcelerator.org/browse/TIMOB-19213] is happening because of this. We may want to double-check if we did it correctly in other places.
Story points: 13