Build mipmap peaks in capture IO thread, but don't wait on it to finish. May be incorrect.
This commit is contained in:
parent
b57acca314
commit
f920867579
|
@ -574,8 +574,10 @@ Peaks::finish_writing ( void )
|
|||
_peak_writer = NULL;
|
||||
|
||||
/* now fill in the rest of the cache */
|
||||
if ( ! fork() )
|
||||
exit( make_peaks_mipmap() );
|
||||
make_peaks_mipmap();
|
||||
/* if ( ! fork() ) */
|
||||
/* exit( make_peaks_mipmap() ); */
|
||||
|
||||
}
|
||||
|
||||
/* THREAD: IO */
|
||||
|
|
|
@ -182,6 +182,8 @@ Record_DS::disk_thread ( void )
|
|||
#ifndef AVOID_UNNECESSARY_COPYING
|
||||
delete[] cbuf;
|
||||
#endif
|
||||
|
||||
_thread = NULL;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue