Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
X
xxdk-wasm
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elixxir
xxdk-wasm
Commits
c2a1be6e
Commit
c2a1be6e
authored
2 years ago
by
Jono Wenger
Browse files
Options
Downloads
Patches
Plain Diff
Fix log print
parent
f4975ff9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!67
fix for latest client release
,
!52
XX-4382 / Move indexedDb databases to web workers
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
worker/manager.go
+4
-5
4 additions, 5 deletions
worker/manager.go
with
4 additions
and
5 deletions
worker/manager.go
+
4
−
5
View file @
c2a1be6e
...
...
@@ -20,9 +20,8 @@ import (
)
// TODO:
// 1. restructure packages
// 2. Get path to JS file from bindings
// 3. Add tests for manager.go and thread.go
// 1. Get path to JS file from bindings
// 2. Add tests for manager.go and thread.go
// 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
...
...
@@ -185,8 +184,8 @@ func (m *Manager) RegisterCallback(tag Tag, receptionCB ReceptionCallback) {
id
:=
initID
jww
.
DEBUG
.
Printf
(
"[WW] [%s] Main registering callback for tag %q and ID
"
+
"%d (autoID: %t)"
,
m
.
name
,
tag
,
id
)
jww
.
DEBUG
.
Printf
(
"[WW] [%s] Main registering callback for tag %q and ID
%d"
,
m
.
name
,
tag
,
id
)
m
.
callbacks
[
tag
]
=
map
[
uint64
]
ReceptionCallback
{
id
:
receptionCB
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment