lathoub / Arduino-BLE-MIDI

MIDI over Bluetooth Low Energy (BLE-MIDI) 1.0 for Arduino
MIT License
219 stars 33 forks source link

fix panic'ed bug when call BLEMIDI_Client_ESP32::end() is called #65

Closed aselectroworks closed 2 years ago

aselectroworks commented 2 years ago

Hi,

Calling isConnected() after assigning nullptr. So when manually disconnect client from server calling BLEMIDI_Client_ESP32::end(), it is caused panic.

lathoub commented 2 years ago

thanks @aselectroworks