mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 13:36:48 +08:00
Cleanup aircraft in X-Plane after DBusConnection drops
ref T392
This commit is contained in:
committed by
Klaus Basan
parent
71b06d5fa8
commit
f3f3ebc306
@@ -445,6 +445,11 @@ namespace XSwiftBus
|
||||
enableFollowPlaneView(callsign);
|
||||
}
|
||||
|
||||
void CTraffic::dbusDisconnectedHandler()
|
||||
{
|
||||
removeAllPlanes();
|
||||
}
|
||||
|
||||
const char *introspection_traffic =
|
||||
DBUS_INTROSPECT_1_0_XML_DOCTYPE_DECL_NODE
|
||||
#include "org.swift_project.xswiftbus.traffic.xml"
|
||||
|
||||
Reference in New Issue
Block a user