abstract jpeg encoding away from "WSServer"

Additionally make thumbnail encoding threadpooled as well, just so it (probably) doesn't block as much.
This commit is contained in:
modeco80 committed 2024-04-24 04:18:05 -04:00
1 parent ddae307874
commit a904f26961
5 files changed
+102 -51

No files matched your search

+4
View File
@@ -116,6 +116,10 @@ export class QemuDisplay extends EventEmitter {
this.displayVnc.disconnect();
}
Connected() {
return this.displayVnc.connected;
}
Buffer(): Buffer {
return this.displayVnc.fb;
}