mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
OCC22273 Message_ProgressSentry with NULL handle progress cause exception
This commit is contained in:
@@ -64,5 +64,5 @@ inline Standard_Boolean Message_ProgressSentry::More () const
|
||||
|
||||
inline void Message_ProgressSentry::Show () const
|
||||
{
|
||||
if ( myProgress ) myProgress->Show();
|
||||
if ( ! myProgress.IsNull() ) myProgress->Show();
|
||||
}
|
||||
|
Reference in New Issue
Block a user