Skip to content

Commit

Permalink
Nullify MessageLoop::state_ before destruction
Browse files Browse the repository at this point in the history
  • Loading branch information
rojkov committed Nov 6, 2014
1 parent 8657ae8 commit c138b7d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions embedding/embedlite/embedhelpers/EmbedLiteUILoop.cpp
Expand Up @@ -61,6 +61,7 @@ void EmbedLiteUILoop::DoQuit()
DoIdleWork();
if (type() == MessageLoop::TYPE_EMBED) {
delete state_;
state_ = nullptr;
}
}

Expand Down

0 comments on commit c138b7d

Please sign in to comment.