[Github-comments] [geany] Geany Freezes when unable to safe an edited file to it's FTP dir, no timeout on atempt saving file (#828)

elextr notifications at xxxxx
Tue Dec 22 21:41:51 UTC 2015


@kugel- not *another* file saving method ;-P

Certainly the GIO based method could use `g_file_replace_async` instead, and the plain file write method could be re-written to be async, but `g_file_set_contents()` is not ours to change, and its the default IIRC.

Once we had the buffer copy we could spawn the plain file write or `g_file_set_contents` methods as separate threads.


---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/828#issuecomment-166737645
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20151222/1684aaba/attachment.html>


More information about the Github-comments mailing list