detach memory thread when done

pull/20/head
FlightlessMango 4 years ago committed by jackun
parent e3b380b970
commit 5201a26d95
No known key found for this signature in database
GPG Key ID: 119DB3F1D05A9ED3

@ -97,5 +97,6 @@ void *update_meminfo(void *) {
memmax = float(mem_info.memmax) / (1024 * 1024);
fclose(meminfo_fp);
pthread_detach(memoryThread);
return NULL;
}
Loading…
Cancel
Save