Michael Pasternak has posted comments on this change.

Change subject: packaging: disconnecting api instance at the end of all in one
......................................................................


Patch Set 1:

you confusing between live instance i've mentioned in the #2
and dead instance i've mentioned #1,

python will never call any destructor on #2 as it is live form program PoV,

while in scenario #1 i do know (yes i have such ability) that the old instance 
is dies now cause you assign new one to the same pointer and intentionally 
force calling disconnect()

of course i could do it implicitly behind the scenes, but i
wanted to let programmers to have control.

-- 
To view, visit http://gerrit.ovirt.org/17847
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I8ece6bb8f825606442322a087fd52a647af64ffe
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ohad Basan <[email protected]>
Gerrit-Reviewer: Alon Bar-Lev <[email protected]>
Gerrit-Reviewer: Eyal Edri <[email protected]>
Gerrit-Reviewer: Michael Pasternak <[email protected]>
Gerrit-Reviewer: Moran Goldboim <[email protected]>
Gerrit-Reviewer: Ofer Schreiber <[email protected]>
Gerrit-Reviewer: Ohad Basan <[email protected]>
Gerrit-Reviewer: Sandro Bonazzola <[email protected]>
Gerrit-HasComments: No
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to