projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
preview tooltip, ffv1 fmt, opengl overlay tweaks, clear nested render output bfr
[goodguy/history.git]
/
cinelerra-5.1
/
cinelerra
/
removefile.h
diff --git
a/cinelerra-5.1/cinelerra/removefile.h
b/cinelerra-5.1/cinelerra/removefile.h
index b2f35fa5042d25026b1b31da69f083118fbec468..371c0710b1e6b28b00fb01841908fb07b3dd1031 100644
(file)
--- a/
cinelerra-5.1/cinelerra/removefile.h
+++ b/
cinelerra-5.1/cinelerra/removefile.h
@@
-40,12
+40,13
@@
public:
void wait() { Thread::join(); delete this; }
static void removeFile(const char *path) {
RemoveFile *rf = new RemoveFile(path,1);
void wait() { Thread::join(); delete this; }
static void removeFile(const char *path) {
RemoveFile *rf = new RemoveFile(path,1);
- rf->
run
();
+ rf->
start
();
}
static void removeFileWait(const char *path) {
if( ::access(path, F_OK) ) return;
RemoveFile *rf = new RemoveFile(path,0);
}
static void removeFileWait(const char *path) {
if( ::access(path, F_OK) ) return;
RemoveFile *rf = new RemoveFile(path,0);
- rf->run(); rf->wait();
+ rf->start(); rf->wait();
+ delete rf;
}
};
}
};