mirror of
https://github.com/xcat2/xNBA.git
synced 2025-08-10 05:20:16 +00:00
[monojob] Release reference on completed job
monojob_wait() was holding a reference to the completed job, meaning that various objects would not be freed until the next job was plugged in to the monojob interface.
This commit is contained in:
@@ -91,6 +91,7 @@ int monojob_wait ( const char *string ) {
|
||||
rc = monojob_rc;
|
||||
|
||||
done:
|
||||
job_done ( &monojob, rc );
|
||||
if ( rc ) {
|
||||
printf ( " %s\n", strerror ( rc ) );
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user