[Processor] Fix a potential crash when quitting the app

Signed-off-by: Regis Merlino <regis.merlino@intel.com>