protected override void Dispose (bool disposing)
{
base.Dispose (disposing);
// Release images
firstImage.Dispose ();
secondImage.Dispose ();
thirdImage.Dispose ();
// Release labels
touchInfoLabel.Dispose ();
touchPhaseLabel.Dispose ();
touchInstructionLabel.Dispose ();
touchTrackingLabel.Dispose ();
}
mono touch中可以在Dispose方法内做一些内存释放
最新推荐文章于 2024-01-30 23:16:31 发布