Skip to content

Commit 7249303

Browse files
committed
* fix apps bug
1 parent a4a90f6 commit 7249303

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

projects/app_vlm/main.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,11 +259,17 @@ def run(self):
259259
self.sta = self.Status.IDLE
260260

261261
self.show_ui()
262+
262263
if self.vlm:
263264
self.vlm.cancel()
265+
time.sleep_ms(500) # Make sure the VLM has exited.
264266
del self.vlm
265267
self.vlm = None
266-
268+
del self.cam
269+
self.cam = None
270+
del self.disp
271+
self.disp = None
272+
267273
if __name__ == '__main__':
268274
appication = App()
269275
appication.run()

projects/build_all.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ set -e
88

99
blacklist_linux=()
1010
blacklist_maixcam=("app_yoloworld" "app_vlm" "app_mono_depth_estimation" "app_chat" "app_speech")
11-
blacklist_maixcam2=("app_mouse_simulator")
11+
blacklist_maixcam2=("app_imu_ahrs")
1212

1313
#############################################
1414

0 commit comments

Comments
 (0)