Skip to content

Commit

Permalink
Fixed some initialize (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
Macoron committed Jul 6, 2023
1 parent 5f72dae commit 6fc8727
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Packages/com.whisper.unity/Runtime/WhisperParams.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ private unsafe WhisperParams(WhisperNativeParams param)
// reset callbacks
_param.new_segment_callback = null;
_param.new_segment_callback_user_data = IntPtr.Zero;
_param.progress_callback = null;
_param.progress_callback_user_data = IntPtr.Zero;
}

~WhisperParams()
Expand Down

0 comments on commit 6fc8727

Please sign in to comment.