Thanks for your question.
Yes, you’re right! A member of the House of Representatives who does not recontest, or seek re-election, at a general election ceases to be a member from the date of the dissolution of the House. Dissolution refers to the act of closing the House of Representatives prior to calling a general election.
For more information, check out this fact sheet.