I'm having trouble tracking down why my dart program isn't terminating. I'm pretty sure it's something to do with either isolates, or stream controllers, and making sure they are closed, but I can't work out what the problem is.
On all of my StreamController
s i'm calling await streamControllerName.close();
, but I think there is an isolate closing mechanism that I don't know about. Would there be any reason why the event loop isn't finishing and so the program isn't exiting? Difficult to give more details as the code is quite long.