李孟宁

Results 11 comments of 李孟宁

```javascript const Mock = require('mockjs2'); Mock.setup({ timeout: 800 // setter delay time }); var xhr = new window._XMLHttpRequest(); window.XMLHttpRequest.prototype.upload = xhr.upload; ````

```javascript const Mock = require('mockjs2'); Mock.setup({ timeout: 800 // setter delay time }); var xhr = new window._XMLHttpRequest(); window.XMLHttpRequest.prototype.upload = xhr.upload; ````

```javascript const Mock = require('mockjs2'); Mock.setup({ timeout: 800 // setter delay time }); var xhr = new window._XMLHttpRequest(); window.XMLHttpRequest.prototype.upload = xhr.upload; ````

In the Chinese article, a paragraph usually 2 character indent in first line. It is a very useful feature for Chinese editor. For example: ![TIM截图20200712184402](https://user-images.githubusercontent.com/10029844/87244412-b1b40380-c46f-11ea-8b0a-239b281da9b6.png) I hope this can help...

![image](https://github.com/mafengwo/vue-drag-tree-table/assets/10029844/f8c6d322-6d1b-4103-8620-ae1589b5c9da)

`eccodes.codes_grib_multi_support_reset_file(file)` Will reset file but forget to release memeory. Fixed it in PR https://github.com/ecmwf/eccodes/pull/352 and https://github.com/ecmwf/cfgrib/pull/428

Fix issue https://github.com/ecmwf/cfgrib/issues/283 https://github.com/ecmwf/cfgrib/issues/325 and https://github.com/ecmwf/cfgrib/issues/429

Fix issue https://github.com/ecmwf/cfgrib/issues/283 https://github.com/ecmwf/cfgrib/issues/325 and https://github.com/ecmwf/cfgrib/issues/429

> Can you please provide a test which shows there is a leak. We have an example here: https://github.com/ecmwf/eccodes/blob/develop/examples/C/multi2.c which calls the function codes_grib_multi_support_reset_file(codes_context_get_default(), fp); > > Running this with...

I change my code and there is no memory leak. And I add a example `multi3.c` for open file for 100 times. If we don't free memory when reset file,...