diff options
author | Darin Adler <darin@src.gnome.org> | 2000-05-05 22:55:12 +0000 |
---|---|---|
committer | Darin Adler <darin@src.gnome.org> | 2000-05-05 22:55:12 +0000 |
commit | 4e357f8346ab0ee741ddd1d747ee73161ead9775 (patch) | |
tree | 780f29aaccbd664dfae7ebfeaf989e5998dbc021 /libnautilus-extensions/nautilus-debug.h | |
parent | 99e4a3033230009736ab0bfb89e071e8a3e3bad0 (diff) | |
download | nautilus-4e357f8346ab0ee741ddd1d747ee73161ead9775.tar.gz |
Fix up the code for cancelling so we don't leave files open and
objects around so much. It was getting out of hand.
* libnautilus-extensions/nautilus-directory-async.c:
(empty_close_callback): Give a warning if we ever have a close
that fails.
(directory_count_callback): For easier debugging, NULL out the
file after unref'ing.
(start_getting_directory_counts): Unref the file when we cancel
a directory count part-way through (leak #1).
(start_getting_top_lefts): Close the file when we cancel a top
left read part-way through (leak #2). Unref the file when we
cancel a top left read part way thorugh (leak #3).
Diffstat (limited to 'libnautilus-extensions/nautilus-debug.h')
0 files changed, 0 insertions, 0 deletions