Skip to content

Commit

Permalink
getAllHandles() at init
Browse files Browse the repository at this point in the history
  • Loading branch information
xanderfrangos committed Jan 8, 2024
1 parent fd6865d commit ced3390
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/modules/node-ddcci/ddcci.cc
Original file line number Diff line number Diff line change
Expand Up @@ -831,6 +831,8 @@ Init(Napi::Env env, Napi::Object exports)
Napi::Function::New(env, saveCurrentSettings, "saveCurrentSettings"));
exports.Set("setLogLevel", Napi::Function::New(env, setLogLevel, "setLogLevel"));

getAllHandles(); // Returns bad handles the first time??

return exports;
}

Expand Down

0 comments on commit ced3390

Please sign in to comment.