realXtend/naali — Issue #406: Expose boost shared pointers properly to QtScript.
Author: juj
Created: 2012-03-04 12:49:43+00:00
State: open
Labels: Bug

The current boost shared_ptr marshalling to QtScript does not hold a refcount to the object. This can cause the script to access a deleted pointer if C++ code drops all refs to the object.

Rewrite the boost shared_ptr <-> QtScript interop code to properly hold refs to the shared_ptrs in the script side, to keep the accesses safe.

Remove InputAPI::RegisterInputContextRaw after the above is implemented.