Skip to main content
ALT Linux Bugzilla
– Attachment 22735 Details for
Bug 56270
Не завершается процесс после закрытия окна программы
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
karton: free domains before virConnectClose
karton-56270-destructor-order.patch (text/plain), 671 bytes, created by
Anton Farygin
on 2026-10-16 11:51:33 MSK
(
hide
)
Description:
karton: free domains before virConnectClose
Filename:
MIME Type:
Creator:
Anton Farygin
Created:
2026-10-16 11:51:33 MSK
Size:
671 bytes
patch
obsolete
>diff --git a/src/karton.cpp b/src/karton.cpp >index c377dd7..f9b5f7b 100644 >--- a/src/karton.cpp >+++ b/src/karton.cpp >@@ -35,11 +35,17 @@ Karton::Karton(QObject *parent) > > Karton::~Karton() > { >+ // Children run after this body. Deregister and free domains while the connection is open, >+ // or virConnectDomainEventDeregisterAny deadlocks on the libvirt lock (bug 56270). >+ delete m_monitor; >+ m_monitor = nullptr; >+ cleanupDomainViewer(); >+ while (!m_domains.isEmpty()) >+ delete m_domains.takeLast(); > if (m_conn) { > virConnectClose(m_conn); > m_conn = nullptr; > } >- cleanupDomainViewer(); > } > > Karton *Karton::self()
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 56270
: 22735