vcl: de-init vcl on destroy 53/28453/1
authorFlorin Coras <fcoras@cisco.com>
Mon, 11 May 2020 17:19:31 +0000 (17:19 +0000)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Tue, 18 Aug 2020 09:54:56 +0000 (09:54 +0000)
Type: fix

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: If3372e3edd403240c2c9da746246170549a3e644
(cherry picked from commit 69d97256d5ca5b06b4399d8369a7a4c3b544a94d)

src/vcl/vppcom.c

index 0b61c5e..8b8d320 100644 (file)
@@ -1122,6 +1122,7 @@ vppcom_app_destroy (void)
   munmap (mspace_least_addr (heap), mi.arena);
 
   vcm = &_vppcom_main;
+  vcm->is_init = 0;
 }
 
 int