services: am: Clear events on PopOutData and PopInteractiveOutData.

This commit is contained in:
bunnei 2020-01-29 22:23:09 -05:00
parent 84e895cdd6
commit 77da74e17a

View file

@ -56,6 +56,7 @@ std::unique_ptr<IStorage> AppletDataBroker::PopNormalDataToGame() {
auto out = std::move(out_channel.front()); auto out = std::move(out_channel.front());
out_channel.pop_front(); out_channel.pop_front();
pop_out_data_event.writable->Clear();
return out; return out;
} }
@ -74,6 +75,7 @@ std::unique_ptr<IStorage> AppletDataBroker::PopInteractiveDataToGame() {
auto out = std::move(out_interactive_channel.front()); auto out = std::move(out_interactive_channel.front());
out_interactive_channel.pop_front(); out_interactive_channel.pop_front();
pop_interactive_out_data_event.writable->Clear();
return out; return out;
} }