Revert "Missing semicolon"

This reverts commit b05dae99cf55afff6ea5edca6e719e183f0d1f3e.
Revert "Fix Application#reset destroy issue"

This reverts commit 79deef95b0e8e1793a3406c2314f4d422c3182c4.