You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Don't set _IS_INIT = true before initializing _ALGO_INSTANCE
I hope I don't miss any subtle detail, but it looks wrong to set
_IS_INIT before _ALGO_INSTANCE gets initialized. In case new
returns Err, _ALGO_INSTANCE will stay uninitialized, but a later call
to UnInit will still try to drop it.
As there is already a _IS_INIT = true immediately after setting
_ALGO_INSTANCE, I think this line can just be removed.
0 commit comments