[Spice-devel] spice-xpi now calls JS OnDisconnected

Hans de Goede hdegoede at redhat.com
Fri Aug 26 04:27:57 PDT 2011


Hi,

On 08/25/2011 11:51 AM, Peter Hatina wrote:
> Hello guys,
>
> I did some changes in spice-xpi. Now the plugin is capable to call
> JavaScript function "OnDisconnected(ErrCode)" which makes our User
> Portal more natural in behavior. When spicec quit, the User Portal gets
> notified by calling OnDisconnected and can react synchronously, so in
> future, there won't be necessary to poll every 2 sec. to check spicec
> status.

Looks good. Has the new functionality been tested? Including having
connections to 2 vms open at the same time and the on-disconnect
handler for the right one getting called?

Regards,

Hans


More information about the Spice-devel mailing list