mozilla

Compare Revisions

Callbacks

Change Revisions

Revision 52005:

Revision 52005 by bholley on

Revision 52006:

Revision 52006 by bholley on

Title:
Callbacks
Callbacks
Slug:
Mozilla/js-ctypes/js-ctypes_reference/Callbacks
Mozilla/js-ctypes/js-ctypes_reference/Callbacks
Tags:
JavaScript, NeedsTechnicalReview, js-ctypes
JavaScript, NeedsTechnicalReview, js-ctypes
Content:

Revision 52005
Revision 52006
tt50    <div class="warning">
51      <strong>Warning:</strong> You <em>must</em> store a referen
 >ce to the callback object as long as the native code might call i
 >t. If you don't, the GC might collect the relevant data structure
 >s, and the browser will crash when native code attempts to invoke
 > your callback.
52    </div>

Back to History