First, thanks for this project for helping old projects' migration ♥️.
I got a bug while using this project to migrate my project because there has some code like below:
This will miss the event unregister after the component destroyed because the special method "beforeDestroy" was incorrectly migrated into methods. It cause unexpected event handles in my project.
So I create this PR to fix this bug about "beforeDestroy" using.
First, thanks for this project for helping old projects' migration ♥️. I got a bug while using this project to migrate my project because there has some code like below:
this code was migrated into below:
This will miss the event unregister after the component destroyed because the special method "beforeDestroy" was incorrectly migrated into methods. It cause unexpected event handles in my project.
So I create this PR to fix this bug about "beforeDestroy" using.