fungos / cr

cr.h: A Simple C Hot Reload Header-only Library
https://fungos.github.io/cr-simple-c-hot-reload/
MIT License
1.54k stars 101 forks source link

Only set up signal handler once #44

Closed pixelherodev closed 5 years ago

pixelherodev commented 5 years ago

A better option would probably be to remove the call to plat_init from cr_plugin_load and instead of have the library's user call plat_init once from their initialization function (main/WinMain/whatever), but I didn't want to suggest a breaking change to the API like that.

fungos commented 5 years ago

Thank you!