Force Render and Input event processing
to unblock window during idle
This commit is contained in:
@@ -14,6 +14,8 @@ func InitWebsocket():
|
||||
print("Connected")
|
||||
while true:
|
||||
await PollWebsocket()
|
||||
RenderingServer.force_draw()
|
||||
DisplayServer.process_events()
|
||||
|
||||
|
||||
func PollWebsocket():
|
||||
|
||||
Reference in New Issue
Block a user