EventsFilter#Push(): ensure not to modify the global namespace

This commit is contained in:
Alexander A. Klimov 2019-04-23 11:02:01 +02:00 committed by Michael Friedrich
parent c209cf830b
commit e86e3cc234
1 changed files with 1 additions and 1 deletions

View File

@ -263,7 +263,7 @@ void EventsFilter::Push(Dictionary::Ptr event)
{
for (auto& perFilter : m_Inboxes) {
if (perFilter.first) {
ScriptFrame frame(true);
ScriptFrame frame(true, new Namespace());
frame.Sandboxed = true;
try {