Skip to content

Commit c92dc3d

Browse files
committed
note about shutdown
1 parent 2fd967b commit c92dc3d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,12 @@ statefulProcessCommandProxy.executeCommand('echo $MY_VARIABLE')
167167
console.log("Error: " + error);
168168
});
169169
170+
// shutdown the statefulProcessCommandProxy
171+
// this is important and your destroy hooks will
172+
// be called at this time.
170173
setTimeout(function() {
171174
statefulProcessCommandProxy.shutdown();
172-
},5000);
175+
},10000);
173176
174177
```
175178

0 commit comments

Comments
 (0)