mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 09:23:03 -04:00
fix crash?
This commit is contained in:
parent
7ca831ae0b
commit
b495586f64
@ -894,7 +894,7 @@ request_ready(P3D_instance *instance) {
|
||||
// useful function, let's use it to ask the browser to call us back
|
||||
// in the main thread.
|
||||
// nout << "async: " << (void *)browser->pluginthreadasynccall << "\n";
|
||||
if (browser->pluginthreadasynccall != 0) {
|
||||
if ((void *)browser->pluginthreadasynccall != (void *)NULL) {
|
||||
browser->pluginthreadasynccall(inst->_npp_instance, browser_sync_callback, NULL);
|
||||
}
|
||||
#else // HAS_PLUGIN_THREAD_ASYNC_CALL
|
||||
|
Loading…
x
Reference in New Issue
Block a user