Sol3 (sol2 v3.0) - a C++ <-> Lua API wrapper with advanced features and top notch performance - is here, and it's great! Documentation:
4.25k
stars
519
forks
source link
Use main_object in dynamic_object example #1641
Open
Maddimax opened 3 weeks ago
It can be easily overlooked (and hard to debug) that you should not store objects that haven't been locked to the main thread. (https://sol2.readthedocs.io/en/latest/threading.html)
Using main_object in the example lets people see this quicker ;)
Fixes #1640