After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 679064 - Warning from vm-creator.vala
Warning from vm-creator.vala
Status: RESOLVED DUPLICATE of bug 678894
Product: gnome-boxes
Classification: Applications
Component: general
3.5.x (unsupported)
Other Linux
: Normal normal
: --
Assigned To: GNOME Boxes maintainer(s)
GNOME Boxes maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2012-06-28 14:29 UTC by Alexander Larsson
Modified: 2016-03-31 14:02 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Alexander Larsson 2012-06-28 14:29:24 UTC
For some reason my box creation failed, then i hit this code path:

Boxes.VMCreator.on_item_added():

if (state == DomainState.SHUTOFF || state == DomainState.CRASHED || state == DomainState.NONE)
    on_domain_stopped (machine);
else
    stopped_id = machine.domain.stopped.connect (() => { on_domain_stopped (machine); });

It took the first codepath, which warns when it tries to disconnect stopped_id.
Also, on_domain_stopped doesn't always disconnect, is that right? maybe the disconnect should be moved to the lambda?
Comment 1 Zeeshan Ali 2012-06-28 14:34:01 UTC
I believe I have fixed that in bug#678894.
Comment 2 Zeeshan Ali 2012-06-28 17:33:01 UTC

*** This bug has been marked as a duplicate of bug 678894 ***