title: OpenCvSharp Access Violation
body: <p>I am using OpenCvSharp4 4.1.0.20190416 and function for deep neural networks.</p>
  
  <pre><code>        ...
          mDnn.SetInput(blob, "data");
          // get output layer name
          var outNames = mDnn.GetUnconnectedOutLayersNames();
          // create mats for output layer
          Mat[] outs = outNames.Select(_ =&gt; new Mat()).ToArray();
          // Run dnn
          mDnn.Forward(outs, outNames);
          ...
  </code></pre>
  
  <p>When during debugging step over the mDnn.Forward row, after while application crashed with access violation. But calling mDnn.Forward returns results without any problem. I don't have any idea, where could be problem.</p>
  
  <pre><code>Program Trace' has exited with code 0 (0x0).
  has exited with code -1073741819 (0xc0000005) 'Access violation'.
  </code></pre>