Skip to content

Commit

Permalink
RDK-43052: Clear nativeAppWasResumed in handleDeactivated
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianM27 committed Oct 3, 2023
1 parent 989e155 commit 2669545
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions RDKShell/RDKShell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -912,6 +912,11 @@ namespace WPEFramework {
{
gExitReasonMutex.lock();
gApplicationsExitReason[service->Callsign()] = AppLastExitReason::DEACTIVATED;
#ifdef HIBERNATE_NATIVE_APPS_ON_SUSPENDED
nativeAppWasResumedMutex.lock();
nativeAppWasResumed[service->Callsign()] = false;
nativeAppWasResumedMutex.unlock();
#endif
if(service->Reason() == PluginHost::IShell::FAILURE)
{
gApplicationsExitReason[service->Callsign()] = AppLastExitReason::CRASH;
Expand Down

0 comments on commit 2669545

Please sign in to comment.