9f070c62 by JessonChan Committed by astaxie

no need defer here

1 parent 738e22e3
......@@ -58,8 +58,8 @@ var settingMutex sync.Mutex
// createDefaultCookie creates a global cookiejar to store cookies.
func createDefaultCookie() {
settingMutex.Lock()
defer settingMutex.Unlock()
defaultCookieJar, _ = cookiejar.New(nil)
settingMutex.Unlock()
}
// Overwrite default settings
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!