Uh oh!
There was an error while loading. Please reload this page.
src: export Agent's constructor and destructor - #3046
Conversation
rvagg
commented
Sep 24, 2015
lgtm @zcbenz is this the only blocker for you using it as a shared library? was it working properly for electron prior to v4? |
zcbenz
commented
Sep 24, 2015
@rvagg Yeah it is the only blocker, before |
rvagg
commented
Sep 25, 2015
@trevnorris, @bnoordhuis, @indutny any of you care to give this a quick look? |
rvagg
commented
Sep 25, 2015
also #3058 while you're at it |
indutny
commented
Sep 25, 2015
LGTM |
1 similar comment
trevnorris
commented
Sep 25, 2015
LGTM |
bnoordhuis
commented
Sep 25, 2015
Wouldn't it make more sense to move the |
zcbenz
commented
Sep 25, 2015
@bnoordhuis Both ways are good to me, I can create a new PR if you prefer that way. |
bnoordhuis
commented
Sep 25, 2015
Moving the constructor and destructor would have my preference. It's more churn initially but more maintainable long-term. |
rvagg
commented
Sep 29, 2015
good call @bnoordhuis, closing in favour of #3098 |
Since
node::Environmentincludesnode::debugger::Agentas a member data, and the constructor and destructor ofnode::Environmentare inlined, we have to exportAgent's constructor and destructor, otherwise when Node is built as shared library we will get following error: