Operations on a append_challenged_posix_file_impl schedule asynchronous operations when they are executed, which capture the file object. To synchronize with them and prevent use-after-free, we need to call close() before destroying the file. Signed-off-by: Duarte Nunes <duarte@scylladb.com> Message-Id: <20180217170556.27330-1-duarte@scylladb.com>
24 KiB
24 KiB