mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 01:44:06 -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
|
// useful function, let's use it to ask the browser to call us back
|
||||||
// in the main thread.
|
// in the main thread.
|
||||||
// nout << "async: " << (void *)browser->pluginthreadasynccall << "\n";
|
// 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);
|
browser->pluginthreadasynccall(inst->_npp_instance, browser_sync_callback, NULL);
|
||||||
}
|
}
|
||||||
#else // HAS_PLUGIN_THREAD_ASYNC_CALL
|
#else // HAS_PLUGIN_THREAD_ASYNC_CALL
|
||||||
|
Loading…
x
Reference in New Issue
Block a user