-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix spawning actors with duplicate id bug (#164)
* fixed duplicate id bug * response holds error and returns it properly * reverted changes to response * trigger-build * moved proc.Start() to registry.add() * improved unit test
- Loading branch information
1 parent
0921477
commit d199384
Showing
3 changed files
with
17 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -67,4 +67,5 @@ func (r *Registry) add(proc Processer) { | |
} | ||
r.lookup[id] = proc | ||
r.mu.Unlock() | ||
proc.Start() | ||
} |