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
This commit is contained in:
TQMatvey 2022-07-28 16:48:45 +07:00 committed by GitHub
parent c777206065
commit b6e52e979d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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