فهرست منبع

Infrared.c: Dont Close GUI 2 times (#1477)

GUI was being closed 2 times upon exit, this PR fixes that by removing 1 of those cases
TQMatvey 3 سال پیش
والد
کامیت
b6e52e979d
1فایلهای تغییر یافته به همراه0 افزوده شده و 3 حذف شده
  1. 0 3
      applications/infrared/infrared.c

+ 0 - 3
applications/infrared/infrared.c

@@ -242,9 +242,6 @@ static void infrared_free(Infrared* infrared) {
     infrared_remote_free(infrared->remote);
     infrared_worker_free(infrared->worker);
 
-    furi_record_close(RECORD_GUI);
-    infrared->gui = NULL;
-
     furi_record_close(RECORD_NOTIFICATION);
     infrared->notifications = NULL;