From 28be57905493bfc096554ee75fc90fd53f27f31c Mon Sep 17 00:00:00 2001 From: Heeyong Song Date: Wed, 6 Dec 2017 18:44:15 +0900 Subject: [PATCH] Ensure last frame update when adaptor is paused Change-Id: I63b49769f51901a0ede71d072465be90e05b2ff4 --- adaptors/common/adaptor-impl.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/adaptors/common/adaptor-impl.cpp b/adaptors/common/adaptor-impl.cpp index 9e71a54..ff2479b 100644 --- a/adaptors/common/adaptor-impl.cpp +++ b/adaptors/common/adaptor-impl.cpp @@ -345,6 +345,9 @@ void Adaptor::Pause() mThreadController->Pause(); mState = PAUSED; + + // Ensure any messages queued during pause callbacks are processed by doing another update. + RequestUpdateOnce(); } } -- 2.7.4