|
@@ -645,7 +645,7 @@ Ref<Texture2D> EditorExportPlatformJavaScript::get_run_icon() const {
|
|
void EditorExportPlatformJavaScript::_server_thread_poll(void *data) {
|
|
void EditorExportPlatformJavaScript::_server_thread_poll(void *data) {
|
|
EditorExportPlatformJavaScript *ej = (EditorExportPlatformJavaScript *)data;
|
|
EditorExportPlatformJavaScript *ej = (EditorExportPlatformJavaScript *)data;
|
|
while (!ej->server_quit) {
|
|
while (!ej->server_quit) {
|
|
- OS::get_singleton()->delay_usec(1000);
|
|
|
|
|
|
+ OS::get_singleton()->delay_usec(6900);
|
|
{
|
|
{
|
|
MutexLock lock(ej->server_lock);
|
|
MutexLock lock(ej->server_lock);
|
|
ej->server->poll();
|
|
ej->server->poll();
|