summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/_yaml.pyx1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/_yaml.pyx b/ext/_yaml.pyx
index 76b307a..b2c4e52 100644
--- a/ext/_yaml.pyx
+++ b/ext/_yaml.pyx
@@ -1351,6 +1351,7 @@ cdef class CEmitter:
if yaml_emitter_emit(&self.emitter, &event) == 0:
error = self._emitter_error()
raise error
+ self.ascend_resolver()
return 1
cdef int output_handler(void *data, char *buffer, int size) except 0: