You are here: PSPad forum > Bug report / Hlášení chyb > offline server causes project to freeze

offline server causes project to freeze

#1 offline server causes project to freeze

Posted by: gwinkless | Date: 2020-03-26 09:42 | IP: IP Logged

Hi

One file in a project I had open was on a smb share that went offline. I wasn't editing that file but it was open (unchanged) in an editor window.

PSpad freezes for several seconds at a time - I assume because it's trying to check the modified-time of that file.

Is there any way you could do the file-time checks in a separate thread? Or perhaps add a shorter timeout?

Cheers

Options: Reply | Quote | Up ^


#2 Re: offline server causes project to freeze

Posted by: pspad | Date: 2020-03-26 09:55 | IP: IP Logged

Hello. Thete isn't timeout its simple call of Windows API
I will try to move it into thread, but it will bring complication - if you close file before thread ends e.t.c

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR