Explicitly Releases the memory of the loaded data */
| 482 | } |
| 483 | /** Explicitly Releases the memory of the loaded data */ |
| 484 | void release() |
| 485 | { |
| 486 | if (_is_loaded) |
| 487 | { |
| 488 | _data.reset(); |
| 489 | _is_loaded = false; |
| 490 | _feeder = nullptr; |
| 491 | } |
| 492 | } |
| 493 | |
| 494 | private: |
| 495 | bool _is_loaded; |