Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InitializeAsync dead lock when AutoConnectRealtime = true #172

Open
Arktische opened this issue Oct 8, 2024 · 0 comments
Open

InitializeAsync dead lock when AutoConnectRealtime = true #172

Arktische opened this issue Oct 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Arktische
Copy link

Bug report

Describe the bug

InitializeAsync never returns when set AutoConnectRealtime = true

To Reproduce

             Supabase.Client? cli;
            Task.Run(async () =>
            {
                var options = new Supabase.SupabaseOptions
                {
                    AutoConnectRealtime = true,
                    AutoRefreshToken = true
                };
                var client = new Supabase.Client(url,key, options);
                await client.InitializeAsync();
                cli = client;
            }).Wait(); // stuck here, never return

Expected behavior

Should return

System information

  • OS: macOS
  • .NET 8.0
  • ARM64
@Arktische Arktische added the bug Something isn't working label Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant