[minor] Better destroy implementation
[test][fix] `this.config` -> `config`