forked from enlightenment/efl
eina: For Windows fix crash when the file was opened many times.
Summary:
A similar problem as:
commit 62b469749a
Reviewers: NikaWhite, t.naumenko, an.kroitor, FurryMyad, cedric, raster, vtorri, rimmed
Reviewed By: raster
Subscribers: artem.popov, cedric, jpeg
Tags: #windows, #efl
Differential Revision: https://phab.enlightenment.org/D4788
This commit is contained in:
parent
2171855a1a
commit
0e7ee821cd
|
@ -764,7 +764,6 @@ eina_file_open(const char *path, Eina_Bool shared)
|
||||||
{
|
{
|
||||||
file->delete_me = EINA_TRUE;
|
file->delete_me = EINA_TRUE;
|
||||||
eina_hash_del(_eina_file_cache, file->filename, file);
|
eina_hash_del(_eina_file_cache, file->filename, file);
|
||||||
eina_file_clean_close(file);
|
|
||||||
file = NULL;
|
file = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue