浏览代码

deinitialize driver

Samuel Thibault 12 年之前
父节点
当前提交
f24447c075
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      examples/gl_interop/gl_interop_idle.c

+ 2 - 0
examples/gl_interop/gl_interop_idle.c

@@ -146,6 +146,8 @@ int main(int argc, char **argv)
 	glutIdleFunc(idle);
 	/* Now run the glut loop */
 	glutMainLoop();
+	/* And deinitialize driver */
+	starpu_driver_deinit(&drivers[0]);
 	printf("finished running the driver\n");
 
 	starpu_shutdown();