Compare commits

..

3 Commits

Author SHA1 Message Date
semantic-release-bot f96d4c319f chore(release): 0.0.2-develop.10 [skip ci]
## [0.0.2-develop.10](https://git.lumeweb.com/LumeWeb/kernel-swarm/compare/v0.0.2-develop.9...v0.0.2-develop.10) (2023-07-22)

### Bug Fixes

* remove mutex and don't make cb async to prevent race condition ([04c7292](04c7292e44))
2023-07-22 01:37:30 +00:00
Derrick Hammer 9d2b64d510
Merge remote-tracking branch 'origin/develop' into develop 2023-07-21 21:35:56 -04:00
Derrick Hammer 04c7292e44
fix: remove mutex and don't make cb async to prevent race condition 2023-07-21 21:35:47 -04:00
4 changed files with 11 additions and 5 deletions

View File

@ -1,3 +1,10 @@
## [0.0.2-develop.10](https://git.lumeweb.com/LumeWeb/kernel-swarm/compare/v0.0.2-develop.9...v0.0.2-develop.10) (2023-07-22)
### Bug Fixes
* remove mutex and don't make cb async to prevent race condition ([04c7292](https://git.lumeweb.com/LumeWeb/kernel-swarm/commit/04c7292e44a9ad272543ff241dad72af4ce5ccaa))
## [0.0.2-develop.9](https://git.lumeweb.com/LumeWeb/kernel-swarm/compare/v0.0.2-develop.8...v0.0.2-develop.9) (2023-07-12) ## [0.0.2-develop.9](https://git.lumeweb.com/LumeWeb/kernel-swarm/compare/v0.0.2-develop.8...v0.0.2-develop.9) (2023-07-12)
## [0.0.2-develop.8](https://git.lumeweb.com/LumeWeb/kernel-swarm/compare/v0.0.2-develop.7...v0.0.2-develop.8) (2023-07-11) ## [0.0.2-develop.8](https://git.lumeweb.com/LumeWeb/kernel-swarm/compare/v0.0.2-develop.7...v0.0.2-develop.8) (2023-07-11)

4
npm-shrinkwrap.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "@lumeweb/kernel-swarm", "name": "@lumeweb/kernel-swarm",
"version": "0.0.2-develop.9", "version": "0.0.2-develop.10",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@lumeweb/kernel-swarm", "name": "@lumeweb/kernel-swarm",
"version": "0.0.2-develop.9", "version": "0.0.2-develop.10",
"hasInstallScript": true, "hasInstallScript": true,
"dependencies": { "dependencies": {
"@lumeweb/hyperswarm-web": "0.0.2-develop.8", "@lumeweb/hyperswarm-web": "0.0.2-develop.8",

View File

@ -38,7 +38,7 @@
"patch-package": "^7.0.0", "patch-package": "^7.0.0",
"presetter": "*" "presetter": "*"
}, },
"version": "0.0.2-develop.9", "version": "0.0.2-develop.10",
"readme": "ERROR: No README data found!", "readme": "ERROR: No README data found!",
"overrides": { "overrides": {
"buffer": "^6.0.3" "buffer": "^6.0.3"

View File

@ -165,8 +165,7 @@ function handleSocketListenEvent(aq: ActiveQuery) {
aq.respond(); aq.respond();
}; };
const cb = async (data: Buffer) => { const cb = (data: Buffer) => {
await socket.mutex?.waitForUnlock();
if (responded) { if (responded) {
return; return;
} }