Wait for any running function to finish before deleting device data. Because 'libxstream_mem_allocate' immediately free the pointer, this can leads to segmentation fault if there is a running function which still uses that pointer.
Wait for any running function to finish before deleting device data.
Because 'libxstream_mem_allocate' immediately free the pointer, this can leads to segmentation fault if there is a running function which still uses that pointer.

SuperBo/pyMIC,SuperBo/pyMIC,SuperBo/pyMIC,SuperBo/pyMIC