|
@@ -203,12 +203,6 @@ DateiDialogTh::DateiDialogTh()
|
|
|
|
|
|
DateiDialogTh::~DateiDialogTh()
|
|
|
{
|
|
|
- if( run )
|
|
|
- {
|
|
|
- warteAufThread( 5000 );
|
|
|
- if( run )
|
|
|
- ende();
|
|
|
- }
|
|
|
dialog->release();
|
|
|
if( ret )
|
|
|
ret->release();
|
|
@@ -256,4 +250,16 @@ Text *DateiDialogTh::getPfad() const
|
|
|
Text *DateiDialogTh::zPfad() const
|
|
|
{
|
|
|
return ret;
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+Thread *DateiDialogTh::release()
|
|
|
+{
|
|
|
+ if( ref == 2 && run )
|
|
|
+ {
|
|
|
+ warteAufThread( 5000 );
|
|
|
+ if( run )
|
|
|
+ ende();
|
|
|
+ }
|
|
|
+ return Thread::release();
|
|
|
}
|