• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ArduPilot / MethodicConfigurator / 24641248417
96%

Build:
DEFAULT BRANCH: master
Ran 20 Apr 2026 12:27AM UTC
Jobs 4
Files 80
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

19 Apr 2026 11:00PM UTC coverage: 94.189% (+0.009%) from 94.18%
24641248417

push

github

amilcarlucas
fix(connection): release flight controller on connection window close

ConnectionSelectionWindow.close_and_quit() called sys_exit(0) without
first calling flight_controller.disconnect(). When the user closed the
window via the window manager (X button, Cmd-Q, Alt-F4) instead of
using one of the in-window buttons, the MAVLink link and the
underlying serial port were left open until the OS reclaimed the file
descriptor.

On Windows this left the COM port locked long enough that relaunching
AMC, or running mavproxy / Mission Planner against the same port, hit
a PermissionError on open. skip_fc_connection() on the same class
already calls flight_controller.disconnect() before destroying the
window, so close_and_quit was the inconsistent path.

Store the flight_controller reference on the window in __init__ and
call disconnect() from close_and_quit, mirroring the skip path.

Add a regression test that patches sys_exit and asserts the mock
flight controller's disconnect() is called when close_and_quit fires,
sibling to the existing test_skip_fc_connection that checks the same
invariant on the other exit path.

Fixes #1525

Signed-off-by: Yash Goel <yashvardhan664@gmail.com>

1766 of 1827 branches covered (96.66%)

11508 of 12218 relevant lines covered (94.19%)

3.73 hits per line

Jobs
ID Job ID Ran Files Coverage
2 run-ubuntu-latest-py3.14 - 24641248417.2 20 Apr 2026 01:09AM UTC 80
94.07
GitHub Action Run
3 run-windows-latest-py3.14 - 24641248417.3 20 Apr 2026 12:27AM UTC 80
93.88
GitHub Action Run
4 run-ubuntu-latest-py3.9 - 24641248417.4 20 Apr 2026 01:11AM UTC 80
94.08
GitHub Action Run
3 run-macos-latest-py3.14 - 24565866376.3 17 Apr 2026 07:27PM UTC 80
93.84
GitHub Action Run
Source Files on build 24641248417
  • Tree
  • List 80
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #24641248417
  • c6f223ee on github
  • Prev Build on master (#24637765595)
  • Next Build on master (#24663004230)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc