5

Does any of you know, what happens to Go-routines, when they are deadlocked by waiting on a channel and the channel isn't reachable anymore?
I'd assume they get garbage-collected since they'd just a few KB of memory when not in use but I can't find anything on it online.

Comments
  • 5
    Thats why I dislike garbage collectors: you never know when and what they do.

    (Although I honor real life garbage collectors)
  • 0
    depends on gc. but usualy memory leak
Add Comment