]> rtime.felk.cvut.cz Git - frescor/frsh.git/commitdiff
Implement frsh_destroy()
authorMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 18 Jun 2010 14:15:23 +0000 (16:15 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 18 Jun 2010 14:15:23 +0000 (16:15 +0200)
... to make wvtest happy by closing all file desriptors.

frsh_api/frsh_core.c

index 9b163e75609d5ec597c3e3b9320fe28a0a76477d..c0f2cd400b22b69ee3d76a2fbccd23f1d53c0134 100644 (file)
@@ -159,6 +159,14 @@ err:
        return ret;
 }
 
+void frsh_destroy()
+{
+       forb_destroy(frsh_forb_global.orb);
+       /* TODO: Destroy all FRAs etc. */
+}
+
+
+
 bool frsh_config_is_admission_test_enabled()
 {
        return true;