[Extension] Fix ";" typo after if-clause

It will cause process_.reset() runs every time.