Skip to content
Snippets Groups Projects
Commit c2a1be6e authored by Jono Wenger's avatar Jono Wenger
Browse files

Fix log print

parent f4975ff9
No related branches found
No related tags found
2 merge requests!67fix for latest client release,!52XX-4382 / Move indexedDb databases to web workers
...@@ -20,9 +20,8 @@ import ( ...@@ -20,9 +20,8 @@ import (
) )
// TODO: // TODO:
// 1. restructure packages // 1. Get path to JS file from bindings
// 2. Get path to JS file from bindings // 2. Add tests for manager.go and thread.go
// 3. Add tests for manager.go and thread.go
// initID is the ID for the first item in the callback list. If the list only // initID is the ID for the first item in the callback list. If the list only
// contains one callback, then this is the ID of that callback. If the list has // contains one callback, then this is the ID of that callback. If the list has
...@@ -185,8 +184,8 @@ func (m *Manager) RegisterCallback(tag Tag, receptionCB ReceptionCallback) { ...@@ -185,8 +184,8 @@ func (m *Manager) RegisterCallback(tag Tag, receptionCB ReceptionCallback) {
id := initID id := initID
jww.DEBUG.Printf("[WW] [%s] Main registering callback for tag %q and ID "+ jww.DEBUG.Printf("[WW] [%s] Main registering callback for tag %q and ID %d",
"%d (autoID: %t)", m.name, tag, id) m.name, tag, id)
m.callbacks[tag] = map[uint64]ReceptionCallback{id: receptionCB} m.callbacks[tag] = map[uint64]ReceptionCallback{id: receptionCB}
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment