V86.destroy()
This commit is contained in:
parent
85be27910a
commit
87c291e923
|
@ -398,6 +398,14 @@ V86Starter.prototype.stop = function()
|
|||
this.bus.send("cpu-stop");
|
||||
};
|
||||
|
||||
/**
|
||||
* @ignore
|
||||
*/
|
||||
V86Starter.prototype.destroy = function()
|
||||
{
|
||||
this.keyboard_adapter.destroy();
|
||||
};
|
||||
|
||||
/**
|
||||
* Restart (force a reboot).
|
||||
*/
|
||||
|
@ -844,6 +852,7 @@ else if(typeof importScripts === "function")
|
|||
V86Starter.prototype["run"] = V86Starter.prototype.run;
|
||||
V86Starter.prototype["stop"] = V86Starter.prototype.stop;
|
||||
V86Starter.prototype["restart"] = V86Starter.prototype.restart;
|
||||
V86Starter.prototype["destroy"] = V86Starter.prototype.destroy;
|
||||
V86Starter.prototype["add_listener"] = V86Starter.prototype.add_listener;
|
||||
V86Starter.prototype["remove_listener"] = V86Starter.prototype.remove_listener;
|
||||
V86Starter.prototype["restore_state"] = V86Starter.prototype.restore_state;
|
||||
|
|
Loading…
Reference in a new issue