Browse Source

Increase ref counter before returning cursors

pull/1977/head
ElBuda 8 years ago
parent
commit
09fe5974f6
  1. 1
      src/Avalonia.Native.OSX/cursor.mm

1
src/Avalonia.Native.OSX/cursor.mm

@ -46,6 +46,7 @@ public:
virtual HRESULT GetCursor (AvnStandardCursorType cursorType, IAvnCursor** retOut)
{
*retOut = s_cursorMap[cursorType];
(*retOut)->AddRef();
return S_OK;
}
};

Loading…
Cancel
Save