Fares 10 miesięcy temu
rodzic
commit
3cbe64a196
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      lib/handlers/upload_handler.dart

+ 1 - 0
lib/handlers/upload_handler.dart

@@ -104,6 +104,7 @@ Future<Response> handleFileUpload(Request request) async {
 
             print('serverResponse: $serverResponse');
           });
+          await myChannel.unsubscribe();
 
           // No need to subscribe to channel
           // final channel = supabase.channel('csvhichstorage');