Skip to content

main() called twice. I have no idea... #23221

Answered by sbc100
JensMunkHansen asked this question in Q&A
Discussion options

You must be logged in to vote

If you want to call main directly then you should build with -sINVOKE_RUN=0 so that its not also called automatically. which is the default.

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
5 replies
@JensMunkHansen
Comment options

@sbc100
Comment options

@JensMunkHansen
Comment options

@sbc100
Comment options

Answer selected by JensMunkHansen
@JensMunkHansen
Comment options

Comment options

You must be logged in to vote
1 reply
@JensMunkHansen
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants