Resolve segmentation fault caused by destructor in NumTicksProfit.cpp

Signed-off-by: Mark Tompkins <mtompkins@firmusgrp.com>