mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-18 03:52:11 +01:00
TxPID: Set the timeOut to NULL after deleting it. I had a segfault from here.
This commit is contained in:
parent
524540895f
commit
446870d869
@ -180,6 +180,7 @@ ConfigTaskWidget::~ConfigTaskWidget()
|
|||||||
if(timeOut)
|
if(timeOut)
|
||||||
{
|
{
|
||||||
delete timeOut;
|
delete timeOut;
|
||||||
|
timeOut = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user