Avoid running functors after detach
Avoid running functors after detach

 Bug: 10861732

Change-Id: Ida55fff716c37c6ab1c98eef02582282de0034f6

xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base