enyojs/enyo — pull request #887 by dmikey (2014-10-15 22:18:07+00:00)
Title: modify inherited execution, so view is not recreated due to resetView

Issue.

When setting `resetView` property to true on a ViewController, the view will be created again after the controller is destroyed due to the order in which the calls are being made.

Fix.

Move inherited call for destroy after the values of `view` and `viewKind` are nullified.

Enyo-DCO-1.1-Signed-off-by: Derek Anderson