Skip to content

Commit a067268

Browse files
committed
Merge pull request #141 from uProxy/iislucas-freedom
fix to close call of a freedom manager
2 parents 4de8777 + 8ad8e66 commit a067268

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

.shippable.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
language: node_js
22
build_image: shippable/minv2
33
node_js:
4-
- "0.12"
54
- "0.10"
65
before_install:
76
- npm install -g grunt-cli

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
language: node_js
22
node_js:
3-
- "0.12"
43
- "0.10"
54
before_install:
65
- npm install -g grunt-cli

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "uproxy-lib",
33
"description": "Shared libraries for uProxy projects.",
4-
"version": "20.0.4",
4+
"version": "20.0.5",
55
"repository": {
66
"type": "git",
77
"url": "https://github.com/uProxy/uproxy-lib"

third_party/freedom-typings/freedom-common.d.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,9 @@ declare module freedom {
9898
// module.
9999
(...args:any[]) : T;
100100
// This is the call to close a particular stub's channel and resources. It
101-
// is assumed that the argument is a result of the factory constructor.
102-
close : (freedomModuleStubInstance:T) => Promise<void>;
101+
// is assumed that the argument is a result of the factory constructor. If
102+
// no argument is supplied, all stubs are closed.
103+
close : (freedomModuleStubInstance?:T) => Promise<void>;
103104
}
104105

105106
interface FreedomInCoreEnvOptions {

0 commit comments

Comments
 (0)