From 4653622739860d12a772390e74e3dd06c98cc855 Mon Sep 17 00:00:00 2001 From: Sanghoon Lee Date: Wed, 25 Jul 2018 16:47:42 +0900 Subject: [PATCH] [Location][Non-ACR][Fixed Nullpointer issue] Change-Id: Ia6d62d457996f1adc44b5b867d25a38799969009 --- tct-suite-vs/Tizen.Location.Manual.Tests/testcase/TSLocator.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tct-suite-vs/Tizen.Location.Manual.Tests/testcase/TSLocator.cs b/tct-suite-vs/Tizen.Location.Manual.Tests/testcase/TSLocator.cs index c19674c..4b7d11c 100755 --- a/tct-suite-vs/Tizen.Location.Manual.Tests/testcase/TSLocator.cs +++ b/tct-suite-vs/Tizen.Location.Manual.Tests/testcase/TSLocator.cs @@ -1,6 +1,6 @@ using System; using System.Threading.Tasks; -using NUnit.Framework; +using NUnit.Framework; using NUnit.Framework.TUnit; using Tizen.System; @@ -33,6 +33,7 @@ namespace Tizen.Location.Tests public static void Destroy() { Tizen.Log.Info(Globals.LogTag, "Deinit() PostCondition"); + locator?.Dispose(); } private static bool CheckCapability(string feature) @@ -112,6 +113,7 @@ namespace Tizen.Location.Tests if (location_supported) { + locator = new Locator(activationType); locator.SettingChanged += SettingChangedHandlerForset; await ManualTest.WaitForConfirm(); } -- 2.7.4