BT connectivity(connection / unpair) is not working properly I am working on Toradex apalis imx6q with Android Nougat. When we try remove the paired device(bu clicking unpair), unpair was done properly. But, still music playing on bluetooth headsets.

Steps:: 

1.Go BT and connect your phone.

2.start play music. 

3.go to BT(headset/phone) and unpair the device.

Observation:: 

still song/error is playing in the bluetooth headset.

Regards, 
VinothS
This is the problem in the bluetooth stack side. I identified and resolved this problem. The solutions of this problem is needs to disconnect after unpair the headset.