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:
parent
c777206065
commit
b6e52e979d
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user