C#程序对GDB进行操作后,再进行压缩时,因timestamp文件被另一程序占用而导致压缩失败
报错信息:The process cannot access the file 'xx.gdb\timestamps' because it is being used by another process
解决方法:
- 解开读写锁
- 释放所有的相关组件(注意一些会返回组件的方法)
- 最后GC.Collect( )强行释放。
报错信息:The process cannot access the file 'xx.gdb\timestamps' because it is being used by another process
解决方法: