We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4590bd5 commit c570e8bCopy full SHA for c570e8b
[refs]
@@ -1,2 +1,2 @@
1
---
2
-refs/heads/master: e3d5b8a8d5c2009fe5abfc68d54cc6ba1f99baea
+refs/heads/master: 977d8ba0e9e19d857f79bc04c09a766b506e7927
trunk/src/rt/rust_kernel.cpp
@@ -136,6 +136,12 @@ int rust_kernel::start_task_threads()
136
137
void
138
rust_kernel::fail() {
139
+ // FIXME: On windows we're getting "Application has requested the
140
+ // Runtime to terminate it in an unusual way" when trying to shutdown
141
+ // cleanly.
142
+#if defined(__WIN32__)
143
+ exit(-1);
144
+#endif
145
for(size_t i = 0; i < num_threads; ++i) {
146
rust_scheduler *thread = threads[i];
147
thread->kill_all_tasks();
0 commit comments