fix crash on macos on network interface change
When set_option is called on an unavailable socket, a crash occurs (at least on MacOS). I reproduce this by creating a local outlet, run the GetAllStreams example and unplugging my wire.
Hey, which version are you using? do you happen to have the compiled library for osx ARM anywhere?
Hey, which version are you using? do you happen to have the compiled library for osx ARM anywhere?
https://github.com/WesselVS/liblsl/releases/tag/fix_release
@WesselVS this crash happens on all platforms I've tried. This includes if I spin up a VM or switch Wifi networks, the app will crash, so this seems invaluable to have