Commit c31026c9 authored by Matthew Vogt's avatar Matthew Vogt Committed by Qt by Nokia
Browse files

Emit Component.onDestruction before context is invalidated


When a component no longer has any live references, emit the
destruction signal immediately so that handlers are run before the
associated V8 resources are invalidated.  Also, when the root
context of the engine is destroyed, emit the destruction signal
before destroying any resources needed to process the resulting
binding invocations.

Change-Id: I722dd6e4b60c499b533fc45e33b61e95bca6187f
Reviewed-by: default avatarMichael Brasser <michael.brasser@nokia.com>
parent 6318560e
No related merge requests found
Showing with 182 additions and 23 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment