diff --git a/deps/libgphoto2 b/deps/libgphoto2 index 951b836..0a29bc9 160000 --- a/deps/libgphoto2 +++ b/deps/libgphoto2 @@ -1 +1 @@ -Subproject commit 951b8364a69eb93df4aab3409a7803f1355be139 +Subproject commit 0a29bc9bd2e0160d9eb5b6bab3f7967793589c3c diff --git a/ui/preview.js b/ui/preview.js index a2c6794..149b852 100644 --- a/ui/preview.js +++ b/ui/preview.js @@ -65,9 +65,6 @@ export class Preview extends Component { 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) { try { let blob = await this.props.getPreview();