Skip to content

Commit

Permalink
Infrared.c: Dont Close GUI 2 times (#1477)
Browse files Browse the repository at this point in the history
GUI was being closed 2 times upon exit, this PR fixes that by removing 1 of those cases
  • Loading branch information
TQMatvey authored Jul 28, 2022
1 parent c777206 commit b6e52e9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions applications/infrared/infrared.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit b6e52e9

Please sign in to comment.