Skip to content

Commit

Permalink
Release v0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
uNetworkingAB committed Jan 15, 2019
1 parent cc16c62 commit 4be2cd6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions uws.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
* Copyright 2018 Alex Hultman and contributors.
* Authored by Alex Hultman, 2018-2019.
* Intellectual property of third-party.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -18,7 +19,7 @@ module.exports = (() => {
try {
const uWS = require(`./uws_${process.platform}_${process.versions.modules}.node`);
/* We are not compatible with Node.js domain */
process.nextTick = (f, ...args) => uWS.nextTick(f.apply(...args));
process.nextTick = (f, ...args) => uWS.nextTick(() => f(...args));
return uWS;
} catch (e) {
throw new Error('This version of µWS is not compatible with your Node.js build.\n\n' + e.toString());
Expand Down
Binary file modified uws_linux_64.node
Binary file not shown.
Binary file modified uws_linux_67.node
Binary file not shown.

0 comments on commit 4be2cd6

Please sign in to comment.