Skip to content

Commit

Permalink
Fix memory corruption issue (#2)
Browse files Browse the repository at this point in the history
Rebased #1.

Co-authored-by: xiaowei guan <xiaowei.guan@samsung.com>
  • Loading branch information
swift-kim and xiaowei-guan authored Nov 26, 2020
1 parent 4437aa5 commit 8e09988
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions shell/platform/tizen/tizen_vsync_waiter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ void TizenVsyncWaiter::TdmClientVblankCallback(
}

bool TizenVsyncWaiter::AsyncWaitForVsync() {
if (nullptr == flutter_engine_) {
LoggerD("flutter_engine_ is null");
return false;
}
if (vblank_ecore_pipe_) {
int event_type = VBLANK_LOOP_REQUEST;
ecore_pipe_write(vblank_ecore_pipe_, &event_type, sizeof(event_type));
Expand Down

0 comments on commit 8e09988

Please sign in to comment.