1
0
Эх сурвалжийг харах

update extension app

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1099 bbd45198-f89e-11dd-88c7-29a3b14d5316
qiuyiuestc 14 жил өмнө
parent
commit
e01636a3ff

+ 2 - 2
components/module/extapp/extapp.c

@@ -27,8 +27,8 @@ int rt_application_entry(void)
 		if(f5 != RT_NULL) f5();
 		else rt_kprintf("dlsym function5 failed.\n");
 	}
-	
-	dlclose(handle);
+
+	if(handle != RT_NULL) dlclose(handle);
 
 	return 0;
 }