mirror of
https://github.com/wassname/HackFlowy.git
synced 2026-07-29 11:15:19 +08:00
Initial work on the server
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
var common = require('../../common');
|
||||
var assert = require('assert');
|
||||
var pool = common.createPool();
|
||||
var poolEnded = false;
|
||||
|
||||
pool.end(function(err) {
|
||||
poolEnded = true;
|
||||
if (err) throw err;
|
||||
});
|
||||
|
||||
process.on('exit', function() {
|
||||
assert(poolEnded);
|
||||
});
|
||||
Reference in New Issue
Block a user