completed manage conference list
This commit is contained in:
+5
-2
@@ -524,14 +524,17 @@ var amContextRecycleBin chan *amContext
|
||||
* Standard Go error status.
|
||||
*/
|
||||
func newContext(ctxt echo.Context) (*amContext, error) {
|
||||
rc := freeContext.Get().(*amContext)
|
||||
if rc == nil {
|
||||
var rc *amContext
|
||||
tmp := freeContext.Get()
|
||||
if tmp == nil {
|
||||
rc = &amContext{
|
||||
rendervars: make(jet.VarMap),
|
||||
frameTitle: "",
|
||||
frameMeta: make(map[int]map[string]string),
|
||||
outputType: "",
|
||||
}
|
||||
} else {
|
||||
rc = tmp.(*amContext)
|
||||
}
|
||||
|
||||
var err error
|
||||
|
||||
Reference in New Issue
Block a user