SdlTransport.handleTransportError() is not thread safe #429
Labels
bug
A defect in the library
transport-bluetooth
Relating to the BT transport
transport-tcp
Relating to the primary TCP transport
transport-usb
Relating to the USB transport
SdlTransport.handleTransportError() may be called from different thread.
in handleTransportError(), _transportListener.onTransportError() will be called which cause _transportListener need consider synchronized and may cause some issues.
guess _transportListener's call back should be called in dedicated thread.
https://github.com/smartdevicelink/sdl_android/blob/develop/sdl_android_lib/src/com/smartdevicelink/transport/SdlTransport.java#L103-L107
The text was updated successfully, but these errors were encountered: