Commit 307dcc67 authored by Jasem Mutlaq's avatar Jasem Mutlaq
Browse files

Wait for wcsWatcher to finish before deleting imageData on reload

parent cba3e10d
......@@ -206,6 +206,9 @@ bool FITSView::loadFITS(const QString &inFilename, bool silent)
// In case loadWCS is still running for previous image data, let's wait until it's over
delete imageData;
imageData = nullptr;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment