Don't send ready unless layer is ready to draw.
This commit is contained in:
1 parent
23ddb964b9
commit
71aef3f181
2 files changed
+10
No files matched your search
@@ -544,6 +544,12 @@ function VNCClient(display) {
|
||||
|
||||
function sendReady() {
|
||||
|
||||
// If not ready, do not send ready
|
||||
if (background == null || !background.isReady()) {
|
||||
setTimeout(sendReady, 50);
|
||||
return;
|
||||
}
|
||||
|
||||
// Start heartbeat signal
|
||||
var heartbeat = new XMLHttpRequest();
|
||||
heartbeat.open("GET", "ready");
|
||||
|
||||
Reference in new issue
Block a user