Force disk cache flush when saving queue #28
The diskstate (queue, history, statistics) may become corrupted if system crashes (not nzbget crashes).
This may happen if the diskstate file were not written from system cache to disk. The disk caches can be forcibly flushed with special system functions. There is no cross-platform standard function for that but many systems have specific functions for that purpose: