Conversation
|
lgtm @zcbenz is this the only blocker for you using it as a shared library? was it working properly for electron prior to v4? |
|
@rvagg Yeah it is the only blocker, before |
|
@trevnorris, @bnoordhuis, @indutny any of you care to give this a quick look? |
|
also #3058 while you're at it |
|
LGTM |
1 similar comment
|
LGTM |
|
Wouldn't it make more sense to move the |
|
@bnoordhuis Both ways are good to me, I can create a new PR if you prefer that way. |
|
Moving the constructor and destructor would have my preference. It's more churn initially but more maintainable long-term. |
|
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: