commented out line 684 (JSI_BaseEntity::init();) the JS_DestroyContext crash is thereby avoided
This was SVN commit r528.
This commit is contained in:
parent
b65d35ea2e
commit
df62c14469
@ -681,7 +681,7 @@ PREVTSC=CURTSC;
|
||||
|
||||
// Register the JavaScript interfaces with the runtime
|
||||
JSI_Entity::init();
|
||||
JSI_BaseEntity::init();
|
||||
// JSI_BaseEntity::init(); // janwas: commented this out to avoid crash in JS_DestroyContext
|
||||
JSI_Vector3D::init();
|
||||
|
||||
// if no map name specified, load test01.pmp (for convenience during
|
||||
@ -802,7 +802,9 @@ PREVTSC=CURTSC;
|
||||
frameCount++;
|
||||
if (g_FixedFrameTiming && frameCount==100) quit=true;
|
||||
#endif
|
||||
}
|
||||
} // main loop, while(!quit)
|
||||
|
||||
|
||||
|
||||
#ifndef NO_GUI
|
||||
g_GUI.Destroy();
|
||||
|
Loading…
Reference in New Issue
Block a user