Skip to content

Commit

Permalink
fix: ptr is not set
Browse files Browse the repository at this point in the history
  • Loading branch information
homuler committed Nov 15, 2020
1 parent e2ad762 commit 7c6af2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/MediaPipe/SDK/Scripts/Gpu/GpuResources.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public class GpuResources : MpResourceHandle {
/// <param name="ptr">Shared pointer of mediapipe::GpuResources</param>
public GpuResources(IntPtr ptr) : base() {
sharedPtrHandle = new SharedPtr(ptr);
ptr = sharedPtrHandle.Get();
this.ptr = sharedPtrHandle.Get();
}

protected override void DisposeManaged() {
Expand Down

0 comments on commit 7c6af2f

Please sign in to comment.