Change-Id: If098539a075ebfbc8668edff4c35ba6091027e3e
{
throw new ArgumentNullException("Use the value property, not null value");
}
- _attachPanel = new IntPtr();
- Interop.AttachPanel.ErrorCode err = Interop.AttachPanel.CreateAttachPanel(conformant, ref _attachPanel);
+ IntPtr candidateAttachPanel = new IntPtr();
+ Interop.AttachPanel.ErrorCode err = Interop.AttachPanel.CreateAttachPanel(conformant, ref candidateAttachPanel);
checkException(err);
+ _attachPanel = candidateAttachPanel;
+
if (_eventEventHandler == null)
{
StateEventListenStart();