qri-io / registry

MOVED. Registry code now lives at: https://github.com/qri-io/qri/tree/master/registry
MIT License
4 stars 0 forks source link

fix(pin status polling): fix defer/goroutine deadlock #26

Closed b5 closed 5 years ago

b5 commented 5 years ago

This is what's making qri publish hang.

Turns out closing a channel in a defer statement is a great way to mess everything up. reworked logic to make this more sensible.