From 275db8a631b6e1eb1cb208f386e495b8b75bfe04 Mon Sep 17 00:00:00 2001 From: blagoev Date: Wed, 20 Sep 2017 21:59:07 +0300 Subject: [PATCH] fix progress notifications registrations --- src/js_sync.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js_sync.hpp b/src/js_sync.hpp index ad136bf7..3542bcb6 100644 --- a/src/js_sync.hpp +++ b/src/js_sync.hpp @@ -361,7 +361,7 @@ void SessionClass::add_progress_notification(ContextType ctx, FunctionType, O progressFunc = std::move(progress_handler); - auto registrationToken = session->register_progress_notifier(std::move(progressFunc), notifierType, false); + auto registrationToken = session->register_progress_notifier(std::move(progressFunc), notifierType, is_streaming); auto syncSession = create_object>(ctx, new WeakSession(session)); PropertyAttributes attributes = ReadOnly | DontEnum | DontDelete;