def stopService(self):
       """Stop All AppManager Services"""
       for x in ['allapps', 'applist']:
           if x in drone.builtins:
               del drone.builtins[x]
       Event('instance-started').unsubscribe(self.reset_tracking)
       for manager in AppManager.objects:
           if manager.running:
               mesg = 'Stopping Application Manager'
               logWithContext(type=manager.name,route=SERVICENAME)(mesg)
               manager.stop()
               #plugins are stateless by design
               pluginFactory.delete_plugin(manager.model)
       if self._task.running: self._task.stop()
       Service.stopService(self)

   #!!!Note docstring is funny for admin usage over blaster
dataset/ETHPy150Open OrbitzWorldwide/droned/droned/services/application.py/ApplicationLoader.stopService/original