Commit be21678
authored
src: keep reference buffer alive longer (#55)
* src: keep reference buffer alive longer
Keep a buffer written by WritePointer alive
until the finalizers for the buffer to which
the pointer has been run have been executed:
Refs: #54
Signed-off-by: Michael Dawson <[email protected]>
* limit change to writePointer
Update to avoid changing behaviour for
_writePointer and limit change to writePointer
where objects were already being associated
with the buffer.
Signed-off-by: Michael Dawson <[email protected]>
* remove _attach call in writePointer
remove _attach call in writePointer as
it is no longer needed since a stronger
version is done in the native code
when true is passed as the fourth parameter1 parent b0809c2 commit be21678
2 files changed
+18
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
746 | 746 | | |
747 | 747 | | |
748 | 748 | | |
749 | | - | |
750 | | - | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
751 | 755 | | |
752 | 756 | | |
753 | 757 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
355 | 355 | | |
356 | 356 | | |
357 | 357 | | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
358 | 370 | | |
359 | 371 | | |
360 | 372 | | |
| |||
0 commit comments