Skip to content

Commit b6e52e9

Browse files
authored
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
1 parent c777206 commit b6e52e9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

applications/infrared/infrared.c

-3
Original file line numberDiff line numberDiff line change
@@ -242,9 +242,6 @@ static void infrared_free(Infrared* infrared) {
242242
infrared_remote_free(infrared->remote);
243243
infrared_worker_free(infrared->worker);
244244

245-
furi_record_close(RECORD_GUI);
246-
infrared->gui = NULL;
247-
248245
furi_record_close(RECORD_NOTIFICATION);
249246
infrared->notifications = NULL;
250247

0 commit comments

Comments
 (0)