Comparing version 1.0.6 to 1.0.7
@@ -5,2 +5,8 @@ # bedrock ChangeLog | ||
## [1.0.7] - 2015-10-15 | ||
### Changed | ||
- `exit` now calls worker kill() vs disconnect() and process.exit(). Appears to | ||
be more correct and works around a bug in node 4.x. | ||
## [1.0.6] - 2015-09-15 | ||
@@ -137,3 +143,4 @@ | ||
[Unreleased]: https://github.com/digitalbazaar/bedrock/compare/1.0.6...HEAD | ||
[Unreleased]: https://github.com/digitalbazaar/bedrock/compare/1.0.7...HEAD | ||
[1.0.7]: https://github.com/digitalbazaar/bedrock/compare/1.0.6...1.0.7 | ||
[1.0.6]: https://github.com/digitalbazaar/bedrock/compare/1.0.5...1.0.6 | ||
@@ -140,0 +147,0 @@ [1.0.5]: https://github.com/digitalbazaar/bedrock/compare/1.0.4...1.0.5 |
@@ -200,5 +200,3 @@ /* | ||
api.exit = function() { | ||
cluster.worker.disconnect(); | ||
// TODO: should not need to force exit? | ||
process.exit(); | ||
cluster.worker.kill(); | ||
}; | ||
@@ -205,0 +203,0 @@ |
{ | ||
"name": "bedrock", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "A core foundation for rich Web applications.", | ||
@@ -17,3 +17,3 @@ "scripts": { | ||
"dependencies": { | ||
"async": "^1.4.0", | ||
"async": "^1.4.2", | ||
"async-node-events": "~0.0.7", | ||
@@ -20,0 +20,0 @@ "chai": "^3.2.0", |
@@ -166,3 +166,3 @@ # bedrock | ||
## Comphrehensive Module Example | ||
## Comprehensive Module Example | ||
@@ -264,4 +264,6 @@ Below is an example that demonstrates Bedrock's event API. It creates a | ||
var bedrock = require('bedrock'); | ||
require('./bedrock-example-listener'); | ||
// load bedrock-example-server dependency | ||
require('./bedrock-example-server'); | ||
// emitted to allow listeners to be attached to the example server | ||
@@ -268,0 +270,0 @@ bedrock.events.on('example.server.ready', function(server) { |
111339
691
1539
Updatedasync@^1.4.2