2
deps/libgphoto2
vendored
2
deps/libgphoto2
vendored
Submodule deps/libgphoto2 updated: 0a29bc9bd2...951b8364a6
@@ -65,6 +65,9 @@ export class Preview extends Component {
|
|||||||
canvasHolder
|
canvasHolder
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// I have no idea why, but if we connect too soon, it just hangs...
|
||||||
|
await new Promise(resolve => setTimeout(resolve, 1000));
|
||||||
|
|
||||||
while (this.canvasRef.current) {
|
while (this.canvasRef.current) {
|
||||||
try {
|
try {
|
||||||
let blob = await this.props.getPreview();
|
let blob = await this.props.getPreview();
|
||||||
|
|||||||
Reference in New Issue
Block a user