Open seadynamic8 opened 4 months ago
Updated to supabase v2, still occuring. (The code referenced above doesn't seemed to have changed)
├── supabase_flutter 2.3.3 │ ├── supabase 2.0.7 │ │ ├── functions_client 2.0.0 │ │ ├── gotrue 2.5.0 │ │ ├── postgrest 2.1.0 │ │ ├── realtime_client 2.0.0 │ │ ├── storage_client 2.0.1
Do you still encounter this issue? I guess you're somewhere calling realtimeclient.onMessage()
inside a callback passed to onMessage()
.
Describe the bug I get multiple errors from Sentry logs. No local debug errors.
It happens in the realtime_client code.
Something similar happened in the Flutter codebase: https://github.com/flutter/flutter/issues/131415
I think it has to do with not making a copy of the list of callbacks before calling them in the list:
To Reproduce i am not sure which code is causing it from my end since the stacktrace shows only the library code.
Expected behavior Either propagate the error to client code or needs a code fix.
Version (please complete the following information): ├── supabase_flutter 1.10.25 │ ├── supabase 1.11.11 │ │ ├── functions_client 1.3.2 │ │ ├── gotrue 1.12.6 │ │ ├── postgrest 1.5.2 │ │ ├── realtime_client 1.4.0 │ │ ├── storage_client 1.5.4
Additional context The growable list size changes but basically the same error each time.