Skip to content

Commit

Permalink
fix: thread hangs when an error occured in RunInGlContext
Browse files Browse the repository at this point in the history
  • Loading branch information
homuler committed Oct 22, 2020
1 parent 6524d57 commit 388899b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/MediaPipe/Examples/Scripts/SceneDirector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ public class SceneDirector : MonoBehaviour {
var height = webCamScreenController.Height();
var pixelData = new PixelData(colors, width, height);

graph.PushInput(pixelData);
graph.PushInput(pixelData).AssertOk();
graph.RenderOutput(webCamScreenController, pixelData);
}
}
Expand Down

0 comments on commit 388899b

Please sign in to comment.