Service/APT: Fixed a regression, PreloadLibraryApplet should also start an applet when called.

This commit is contained in:
Subv 2015-07-23 21:09:43 -05:00
parent ce31184557
commit 599744921d
6 changed files with 36 additions and 5 deletions

View file

@ -91,7 +91,7 @@ ResultCode Applet::Start(const Service::APT::AppletStartupParameter& parameter)
bool IsLibraryAppletRunning() {
// Check the applets map for instances of any applet
for (auto& itr = applets.begin(); itr != applets.end(); ++itr)
for (auto itr = applets.begin(); itr != applets.end(); ++itr)
if (itr->second != nullptr)
return true;
return false;