protected void WPFStop()
{
if (this.hostingControl != null && this.hostingControl.WPFImage != null)
{
lock (this.hostingControl.WPFImage)
{
this.wpfBitmapBuffer = null;
}
}
}