Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 4f9fd6e

Browse files
committed
[[ Bug ]] Fix crash on creation of browser widget
This patch fixes a crash which occurs when creating an instance of the browser widget. The crash was caused by a failure to initialize the m_progress_handler member variable of the MCBrowserBase class to nullptr in its constructor.
1 parent 8375638 commit 4f9fd6e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

libbrowser/src/libbrowser.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ void MCBrowserRefCounted::Destroy()
5252

5353
MCBrowserBase::MCBrowserBase(void)
5454
: m_event_handler(nil),
55-
m_javascript_handler(nil)
55+
m_javascript_handler(nil),
56+
m_progress_handler(nil)
5657
{
5758
}
5859

0 commit comments

Comments
 (0)