imurvai / brickcontroller2

Cross platform application for controlling Lego creations using a bluetooth gamepad.
108 stars 32 forks source link

Avoid possible null reference exception on device connection failure #16

Closed vicocz closed 5 years ago

vicocz commented 5 years ago

Unfortunately I have no steps-to-repro, but I met it once on Android BC2 app, several times in my Windows prototype which might be affected by different Bluetooth connection timing on Windows or any race condition in my UWP prototype.

imurvai commented 5 years ago

Thanks for fixing it.