dimensional-de / napi-canon-cameras

Node AddOn Api module for Canon cameras
GNU General Public License v3.0
51 stars 18 forks source link

Fixes for out-of-order dynamic init error #5

Closed Olliebrown closed 1 year ago

Olliebrown commented 2 years ago

Initialization of Labels::Option was moved into an 'init' function. That init function is called from the 'Option::Init()' function so that it occurs during addOn initialization but after all the other static members have been initialized.