Commits

Mark Wieringa authored e366d48e9b8
Fix CAS-10163 - close miriad uv file handle

Avoids failure after repeated runs
No tags

code/miriad/Filling/Importmiriad.cc

Modified
1831 1831 {
1832 1832 #if 0
1833 1833 os_p << "Importmiriad::show()" << LogIO::POST;
1834 1834 for (int i=0; i<source_p.nelements(); i++) os_p << "SOURCE_P_1: " << source_p[i] << LogIO::POST;
1835 1835 #endif
1836 1836 }
1837 1837
1838 1838 // ==============================================================================================
1839 1839 void Importmiriad::close()
1840 1840 {
1841 - // does nothing for now
1841 + // close the file
1842 + uvclose_c(uv_handle_p);
1842 1843 }
1843 1844

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut