I did a bad refactoring where the pskIdToSecret callback (which is eventually used as part of a psk Callback) had some unbounded variables inside of it (e.g. variables that weren't defined anywhere) and that caused JXcore to crash.
The text was updated successfully, but these errors were encountered:
The function causing the crash is here. The problem was that I had screwed up a refactor and pskIdentity and pskKey were not bound to anything. in other words there was no declaration of either variable in any visible scope. Once I fixed that everything was fine. The createserver is called here
The Crash
Bad Code
I did a bad refactoring where the pskIdToSecret callback (which is eventually used as part of a psk Callback) had some unbounded variables inside of it (e.g. variables that weren't defined anywhere) and that caused JXcore to crash.
The text was updated successfully, but these errors were encountered: