stop the thread . this method is called when closing the database . old log files are deleted as well . concode_field_sep WeakReference<Database> databaseRef concode_elem_sep long lastIndexFlush concode_elem_sep boolean stop concode_elem_sep String oldLogFile concode_elem_sep int writeDelay concode_elem_sep long oldLogFileDelete concode_field_sep void setWriteDelay concode_elem_sep LogSystem getLog concode_elem_sep WriterThread create concode_elem_sep void run concode_elem_sep void flushIndexesIfRequired concode_elem_sep void deleteLogFileLater
void function ( ) { stop = true ; deleteLogFileLater ( null ) ; }