We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec7f385 commit 0e3d83aCopy full SHA for 0e3d83a
subprojects/robotpy-wpilib/gen/LiveWindow.yml
@@ -22,3 +22,11 @@ classes:
22
IsEnabled:
23
SetEnabled:
24
UpdateValues:
25
+
26
+inline_code: |
27
+ static int unused;
28
+ py::capsule cleanup(&unused, [](void *) {
29
+ frc::LiveWindow::SetEnabledCallback(nullptr);
30
+ frc::LiveWindow::SetDisabledCallback(nullptr);
31
+ });
32
+ m.add_object("_lw_cleanup", cleanup);
0 commit comments