The absolute worst choice for behavior here is to deadlock. Sending to a nil channel should be a panic if anything does.
https://play.golang.org/p/V0440sFT68Z
There's no recovery here, you just lose that thread forever.
The absolute worst choice for behavior here is to deadlock. Sending to a nil channel should be a panic if anything does.
https://play.golang.org/p/V0440sFT68Z
There's no recovery here, you just lose that thread forever.
Jonkman Microblog is a social network, courtesy of SOBAC Microcomputer Services. It runs on GNU social, version 1.2.0-beta5, available under the GNU Affero General Public License.
All Jonkman Microblog content and data are available under the Creative Commons Attribution 3.0 license.