MT#63171 XMLRPC2DI: fix dtor ordering

The `di_method` object accesses fields of the `s` server in its dtor.
Therefore delete that one first, and `s` second.

Change-Id: Ib5f86753c7801b0b67d92e4c0f97464c2aecdaed
mr13.5
Richard Fuchs 6 months ago
parent c247242bf4
commit 35e15382ac

@ -136,12 +136,12 @@ class XMLRPC2DIServer
~XMLRPC2DIServer() {
stop();
join();
if (s) {
delete s;
}
if (di_method) {
delete di_method;
}
if (s) {
delete s;
}
}
bool initialize();

Loading…
Cancel
Save