Skip to content
Snippets Groups Projects
Commit 0c72f1fa authored by Benjamin Wenger's avatar Benjamin Wenger
Browse files

reverted some edits

parent af0b3e15
No related branches found
No related tags found
No related merge requests found
...@@ -175,11 +175,8 @@ func (m *Manager) handleRequest(cmixMsg format.Message, ...@@ -175,11 +175,8 @@ func (m *Manager) handleRequest(cmixMsg format.Message,
// fixme: if a crash occurs before or during the calls, the notification // fixme: if a crash occurs before or during the calls, the notification
// will never be sent. // will never be sent.
cbList := m.requestCallbacks.Get(c.ID) cbList := m.requestCallbacks.Get(c.ID)
for i:=0;i<len(cbList);i++{ for _, cb := range cbList {
cb := cbList[i] rcb := cb.(interfaces.RequestCallback)
jww.INFO.Printf("callback type: %T", cb)
jww.INFO.Printf("printed internal callback: %#v", cb)
rcb := (cb).([]interface{})[0].(interfaces.RequestCallback)
go rcb(c, msg) go rcb(c, msg)
} }
return return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment