TODO in vm.stop().

This commit is contained in:
Julien Fontanet
2014-07-28 16:45:16 +02:00
parent 9c0fda2b52
commit b59d07fb5f

View File

@@ -545,6 +545,10 @@ exports.start.params = {
id: { type: 'string' }
}
# TODO: implements timeout.
# - if !force → clean shutdown
# - if force is true → hard shutdown
# - if force is integer → clean shutdown and after force seconds, hard shutdown.
exports.stop = ({id, force}) ->
try
VM = @getObject id