hugolib: Defer the unlock in orderedMap.Add
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sun, 22 Apr 2018 19:32:05 +0000 (21:32 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sun, 22 Apr 2018 19:32:05 +0000 (21:32 +0200)
commit24c662ce6bea029b0b24160376eaceaed1481d1c
treebfd357d59cc534428f6cfd45691ba6b7efab9b2f
parent474bad34ca9d3fcb15130530569983ef3ef1a284
hugolib: Defer the unlock in orderedMap.Add

Just in case someone tries to recover from the potential panic.
hugolib/orderedMap.go