Details
-
Bug
-
Status: Resolved
-
Not specified
-
Resolution: Fixed
-
None
-
None
Description
Code using CLockedWorkUnit assumes that the destructor can throw an exception. This needs to be reviewed, because for C++11 onwards this causes the program to terminate.
In particular, EclAgent has a function updateWorkunit(). Some methods rely on the destructor to commit changes to the workunit in Dali, rather than by calling commit().
(The CLockedWorkUnit destructor is making a call to _unlockRemote() defined in CDaliWorkUnit.)
Attachments
Issue Links
- relates to
-
HPCC-14589 Check for all destructors that can throw exceptions
-
- Accepted
-